|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jrefinery.date.AnnualDateRule
com.jrefinery.date.EasterSundayRule
public class EasterSundayRule
An annual date rule for Easter (Sunday). The algorithm used here was obtained from a Calendar FAQ which can be found at: http://www.tondering.dk/claus/calendar.html. It is based on an algorithm by Oudin (1940) and quoted in "Explanatory Supplement to the Astronomical Almanac", P. Kenneth Seidelmann, editor.
| Constructor Summary | |
|---|---|
EasterSundayRule()
|
|
| Method Summary | |
|---|---|
SerialDate |
getDate(int year)
Returns the date of Easter Sunday for the given year. |
| Methods inherited from class com.jrefinery.date.AnnualDateRule |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EasterSundayRule()
| Method Detail |
|---|
public SerialDate getDate(int year)
This method supports the AnnualDateRule interface.
getDate in class AnnualDateRule
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||