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