org.jfree.date
public abstract class AnnualDateRule extends Object implements Cloneable
One example is Easter Sunday (which can be calculated using published algorithms).
Constructor Summary | |
---|---|
protected | AnnualDateRule()
Default constructor. |
Method Summary | |
---|---|
Object | clone()
Returns a clone of the rule.
|
abstract SerialDate | getDate(int year)
Returns the date for this rule, given the year.
|
You should refer to the documentation of the clone() method in each subclass for exact details.
Returns: a clone of the rule.
Throws: CloneNotSupportedException if the rule is not clonable.
Parameters: year the year (1900 <= year <= 9999).
Returns: the date for this rule, given the year.