public final class NewYearStrategy
extends java.lang.Object
Determines the begin of a given historic year.
NewYearRule.until(int)| Modifier and Type | Method and Description |
|---|---|
NewYearStrategy |
and(NewYearStrategy next)
Combines this and given strategy to a new strategy.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString()
For debugging purposes.
|
public NewYearStrategy and(NewYearStrategy next)
Combines this and given strategy to a new strategy.
next - strategy which chronologically follows after this strategyjava.lang.IllegalArgumentException - in case of multiple overlapping rulespublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
For debugging purposes.
toString in class java.lang.Object