Package net.time4j.history
Class NewYearStrategy
java.lang.Object
net.time4j.history.NewYearStrategy
Determines the begin of a given historic year.
- Since:
- 3.14/4.11
- Author:
- Meno Hochschild
- See Also:
NewYearRule.until(int)
-
Method Summary
Modifier and TypeMethodDescriptionand(NewYearStrategy next)
Combines this and given strategy to a new strategy.boolean
int
hashCode()
toString()
For debugging purposes.
-
Method Details
-
and
Combines this and given strategy to a new strategy.
- Parameters:
next
- strategy which chronologically follows after this strategy- Returns:
- combined stragegy
- Throws:
IllegalArgumentException
- in case of multiple overlapping rules- Since:
- 3.14/4.11
-
equals
-
hashCode
public int hashCode() -
toString
For debugging purposes.
-