public abstract class AnnualDateRule extends Object implements 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 |
|---|---|
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 Object clone() throws CloneNotSupportedException
You should refer to the documentation of the clone() method in each subclass for exact details.
clone in class ObjectCloneNotSupportedException - if the rule is not clonable.Copyright © 2009-2012 jtstand.com. All Rights Reserved.