NOTE: This class only supports the three fields listed above. Thus, you cannot query the dayOfWeek or centuryOfEra fields for example. The new LocalDate
class removes this restriction.
Calculations on YearMonthDay are performed using a {@link Chronology}. This chronology is set to be in the UTC time zone for all calculations.
Each individual field can be queried in two ways:
getMonthOfYear()
monthOfYear().get()
monthOfYear().get()
monthOfYear().getAsText()
monthOfYear().getAsShortText()
monthOfYear().getMaximumValue()
monthOfYear().addToCopy()
monthOfYear().setCopy()
YearMonthDay is thread-safe and immutable, provided that the Chronology is as well. All standard Chronology classes supplied are thread-safe and immutable. @author Stephen Colebourne @since 1.0 @deprecated Use LocalDate which has a much better internal implementation andhas been available since 1.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|