public final class StrictChronology extends AssembledChronology
StrictChronology is thread-safe and immutable.
StrictDateTimeField,
LenientChronology,
Serialized FormAssembledChronology.Fields| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
A strict chronology is only equal to a strict chronology with the
same base chronology.
|
static StrictChronology |
getInstance(Chronology base)
Create a StrictChronology for any chronology.
|
int |
hashCode()
A suitable hashcode for the chronology.
|
String |
toString()
A debugging string for the chronology.
|
Chronology |
withUTC()
Returns an instance of this Chronology that operates in the UTC time
zone.
|
Chronology |
withZone(DateTimeZone zone)
Returns an instance of this Chronology that operates in any time zone.
|
centuries, centuryOfEra, clockhourOfDay, clockhourOfHalfday, dayOfMonth, dayOfWeek, dayOfYear, days, era, eras, getDateTimeMillis, getDateTimeMillis, getDateTimeMillis, getZone, halfdayOfDay, halfdays, hourOfDay, hourOfHalfday, hours, millis, millisOfDay, millisOfSecond, minuteOfDay, minuteOfHour, minutes, monthOfYear, months, secondOfDay, secondOfMinute, seconds, weekOfWeekyear, weeks, weekyear, weekyearOfCentury, weekyears, year, yearOfCentury, yearOfEra, yearspublic static StrictChronology getInstance(Chronology base)
base - the chronology to wrapIllegalArgumentException - if chronology is nullpublic Chronology withUTC()
BaseChronologywithUTC in class BaseChronologypublic Chronology withZone(DateTimeZone zone)
BaseChronologywithZone in class BaseChronologyzone - to use, or default if nullZonedChronologypublic boolean equals(Object obj)
public int hashCode()
public String toString()
toString in class BaseChronologyCopyright © 2010 - 2020 Adobe. All Rights Reserved