|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.amattioli.encapsulate.dates.Easter
public class Easter
La classe Easter permette di gestire cio' che ha a che fare con la Pasqua cristiana. Permette fondamentalmente due tipi di operazioni:
| Constructor Summary | |
|---|---|
Easter()
|
|
| Method Summary | |
|---|---|
static Day |
day(int year)
Calcola il giorno della pasqua a partire dall'anno. |
boolean |
includes(Date d)
Verifica che l'istante di tempo passato come parametro sia compreso all'interno di un giorno di Pasqua. |
boolean |
includes(Day d)
Verifica che il giorno passato come parametro corrisponda ad un giorno di Pasqua. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Easter()
| Method Detail |
|---|
public static Day day(int year)
year - l'anno di cui si vuole conoscere la pasqua
public boolean includes(Date d)
includes in interface TemporalExpressiond - the date to be checked
public boolean includes(Day d)
includes in interface DayExpressiond - the day to be checked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||