public abstract class AnnualDateRule
extends java.lang.Object
implements java.lang.Cloneable
One example is Easter Sunday (which can be calculated using published algorithms).
| Constructor and Description |
|---|
AnnualDateRule() |
| 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.
|
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.