|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.date.AnnualDateRule
public abstract class AnnualDateRule
The base class for all 'annual' date rules: that is, rules for generating one date for any given year.
One example is Easter Sunday (which can be calculated using published algorithms).
| Constructor Summary | |
|---|---|
protected |
AnnualDateRule()
Default constructor. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of the rule. |
abstract SerialDate |
getDate(int year)
Returns the date for this rule, given the year. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AnnualDateRule()
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||