Era (Java SE 26 & JDK 26)
- All Superinterfaces:
TemporalAccessor, TemporalAdjuster
- All Known Implementing Classes:
HijrahEra, IsoEra, JapaneseEra, MinguoEra, ThaiBuddhistEra
-
Method Summary
Adjusts the specified temporal object to have the same era as this object.
default intGets the value of the specified field from this era as an
int.Gets the textual representation of this era.
default longGets the value of the specified field from this era as a
long.intgetValue()Gets the numeric value associated with the era as defined by the chronology.
default booleanChecks if the specified field is supported.
default <R> RQueries this era using the specified query.
Gets the range of valid values for the specified field.
-
Method Details
-
getValue
-
isSupported
-
range
-
get
-
getLong
-
query
-
adjustInto
-
getDisplayName
-