RingJavafor Ring

java.time.chrono

21 classes of the module java.base.

Load them with:

using {
	"java.time.chrono"
}

All packages

AbstractChronology#

abstract · extends Object · java.time.chrono.AbstractChronology

Implements: Chronology

Methods

MethodRing callJava overloads
@dateNow@dateNow(zone)ChronoLocalDate dateNow(ZoneId zone)
ChronoLocalDate dateNow(Clock clock)
compareTocompareTo(other)int compareTo(Chronology other)
datedate(temporal)
date([prolepticYear,month,dayOfMonth])
date([ :prolepticYear = v, :month = v, :dayOfMonth = v ])
date([era,yearOfEra,month,dayOfMonth])
date([ :era = v, :yearOfEra = v, :month = v, :dayOfMonth = v ])
ChronoLocalDate date(TemporalAccessor temporal)
ChronoLocalDate date(int prolepticYear, int month, int dayOfMonth)
ChronoLocalDate date(Era era, int yearOfEra, int month, int dayOfMonth)
dateEpochDaydateEpochDay(epochDay)ChronoLocalDate dateEpochDay(long epochDay)
dateNowdateNow()ChronoLocalDate dateNow()
dateYearDaydateYearDay([prolepticYear,dayOfYear])
dateYearDay([ :prolepticYear = v, :dayOfYear = v ])
dateYearDay([era,yearOfEra,dayOfYear])
dateYearDay([ :era = v, :yearOfEra = v, :dayOfYear = v ])
ChronoLocalDate dateYearDay(int prolepticYear, int dayOfYear)
ChronoLocalDate dateYearDay(Era era, int yearOfEra, int dayOfYear)
epochSecondepochSecond([prolepticYear,month,dayOfMonth,hour,minute,second,zoneOffset])
epochSecond([ :prolepticYear = v, :month = v, :dayOfMonth = v, :hour = v, :minute = v, :second = v, :zoneOffset = v ])
epochSecond([era,yearOfEra,month,dayOfMonth,hour,minute,second,zoneOffset])
epochSecond([ :era = v, :yearOfEra = v, :month = v, :dayOfMonth = v, :hour = v, :minute = v, :second = v, :zoneOffset = v ])
long epochSecond(int prolepticYear, int month, int dayOfMonth, int hour, int minute, int second, ZoneOffset zoneOffset)
long epochSecond(Era era, int yearOfEra, int month, int dayOfMonth, int hour, int minute, int second, ZoneOffset zoneOffset)
eraOferaOf(eraValue)Era eraOf(int eraValue)
eraseras()List eras()
getCalendarTypegetCalendarType()String getCalendarType()
getDisplayNamegetDisplayName(style,locale)String getDisplayName(TextStyle style, Locale locale)
getIdgetId()String getId()
isIsoBasedisIsoBased()boolean isIsoBased()
isLeapYearisLeapYear(prolepticYear)boolean isLeapYear(long prolepticYear)
localDateTimelocalDateTime(temporal)ChronoLocalDateTime localDateTime(TemporalAccessor temporal)
periodperiod(years,months,days)ChronoPeriod period(int years, int months, int days)
prolepticYearprolepticYear(era,yearOfEra)int prolepticYear(Era era, int yearOfEra)
rangerange(field)ValueRange range(ChronoField field)
resolveDateresolveDate(fieldValues,resolverStyle)ChronoLocalDate resolveDate(Map fieldValues, ResolverStyle resolverStyle)
zonedDateTimezonedDateTime(temporal)
zonedDateTime([instant,zone])
zonedDateTime([ :instant = v, :zone = v ])
ChronoZonedDateTime zonedDateTime(TemporalAccessor temporal)
ChronoZonedDateTime zonedDateTime(Instant instant, ZoneId zone)

The methods and fields of Object are inherited.

ChronoLocalDate#

interface · java.time.chrono.ChronoLocalDate

Extends: Temporal, TemporalAdjuster, Comparable

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
atTimeatTime(localTime)ChronoLocalDateTime atTime(LocalTime localTime)
compareTocompareTo(other)int compareTo(ChronoLocalDate other)
equalsequals(obj)boolean equals(Object obj)
formatformat(formatter)String format(DateTimeFormatter formatter)
fromfrom(temporal)static ChronoLocalDate from(TemporalAccessor temporal)
getChronologygetChronology()Chronology getChronology()
getEragetEra()Era getEra()
getLonggetLong(field)long getLong(TemporalField field)
hashCodehashCode()int hashCode()
isAfterisAfter(other)boolean isAfter(ChronoLocalDate other)
isBeforeisBefore(other)boolean isBefore(ChronoLocalDate other)
isEqualisEqual(other)boolean isEqual(ChronoLocalDate other)
isLeapYearisLeapYear()boolean isLeapYear()
isSupportedisSupported(unit)boolean isSupported(TemporalUnit unit)
boolean isSupported(TemporalField field)
lengthOfMonthlengthOfMonth()int lengthOfMonth()
lengthOfYearlengthOfYear()int lengthOfYear()
minusminus(amount)
minus([amountToSubtract,unit])
minus([ :amountToSubtract = v, :unit = v ])
ChronoLocalDate minus(TemporalAmount amount)
ChronoLocalDate minus(long amountToSubtract, TemporalUnit unit)
plusplus(amount)
plus([amountToAdd,unit])
plus([ :amountToAdd = v, :unit = v ])
ChronoLocalDate plus(TemporalAmount amount)
ChronoLocalDate plus(long amountToAdd, TemporalUnit unit)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
timeLineOrdertimeLineOrder()static Comparator timeLineOrder()
toEpochDaytoEpochDay()long toEpochDay()
untiluntil(endDateExclusive)
until([endExclusive,unit])
until([ :endExclusive = v, :unit = v ])
ChronoPeriod until(ChronoLocalDate endDateExclusive)
long until(Temporal endExclusive, TemporalUnit unit)
withwith(adjuster)
with([field,newValue])
with([ :field = v, :newValue = v ])
ChronoLocalDate with(TemporalAdjuster adjuster)
ChronoLocalDate with(TemporalField field, long newValue)

ChronoLocalDateTime#

interface · java.time.chrono.ChronoLocalDateTime

Extends: Temporal, TemporalAdjuster, Comparable

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
atZoneatZone(zone)ChronoZonedDateTime atZone(ZoneId zone)
compareTocompareTo(other)int compareTo(ChronoLocalDateTime other)
equalsequals(obj)boolean equals(Object obj)
formatformat(formatter)String format(DateTimeFormatter formatter)
fromfrom(temporal)static ChronoLocalDateTime from(TemporalAccessor temporal)
getChronologygetChronology()Chronology getChronology()
getLonggetLong(field)long getLong(TemporalField field)
hashCodehashCode()int hashCode()
isAfterisAfter(other)boolean isAfter(ChronoLocalDateTime other)
isBeforeisBefore(other)boolean isBefore(ChronoLocalDateTime other)
isEqualisEqual(other)boolean isEqual(ChronoLocalDateTime other)
isSupportedisSupported(field)boolean isSupported(TemporalField field)
boolean isSupported(TemporalUnit unit)
minusminus(amount)
minus([amountToSubtract,unit])
minus([ :amountToSubtract = v, :unit = v ])
ChronoLocalDateTime minus(TemporalAmount amount)
ChronoLocalDateTime minus(long amountToSubtract, TemporalUnit unit)
plusplus(amount)
plus([amountToAdd,unit])
plus([ :amountToAdd = v, :unit = v ])
ChronoLocalDateTime plus(TemporalAmount amount)
ChronoLocalDateTime plus(long amountToAdd, TemporalUnit unit)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
timeLineOrdertimeLineOrder()static Comparator timeLineOrder()
toEpochSecondtoEpochSecond(offset)long toEpochSecond(ZoneOffset offset)
toInstanttoInstant(offset)Instant toInstant(ZoneOffset offset)
toLocalDatetoLocalDate()ChronoLocalDate toLocalDate()
toLocalTimetoLocalTime()LocalTime toLocalTime()
untiluntil(endExclusive,unit)long until(Temporal endExclusive, TemporalUnit unit)
withwith(adjuster)
with([field,newValue])
with([ :field = v, :newValue = v ])
ChronoLocalDateTime with(TemporalAdjuster adjuster)
ChronoLocalDateTime with(TemporalField field, long newValue)

Chronology#

interface · java.time.chrono.Chronology

Extends: Comparable

Methods

MethodRing callJava overloads
@dateNow@dateNow(zone)ChronoLocalDate dateNow(ZoneId zone)
ChronoLocalDate dateNow(Clock clock)
compareTocompareTo(other)int compareTo(Chronology other)
datedate(temporal)
date([prolepticYear,month,dayOfMonth])
date([ :prolepticYear = v, :month = v, :dayOfMonth = v ])
date([era,yearOfEra,month,dayOfMonth])
date([ :era = v, :yearOfEra = v, :month = v, :dayOfMonth = v ])
ChronoLocalDate date(TemporalAccessor temporal)
ChronoLocalDate date(int prolepticYear, int month, int dayOfMonth)
ChronoLocalDate date(Era era, int yearOfEra, int month, int dayOfMonth)
dateEpochDaydateEpochDay(epochDay)ChronoLocalDate dateEpochDay(long epochDay)
dateNowdateNow()ChronoLocalDate dateNow()
dateYearDaydateYearDay([prolepticYear,dayOfYear])
dateYearDay([ :prolepticYear = v, :dayOfYear = v ])
dateYearDay([era,yearOfEra,dayOfYear])
dateYearDay([ :era = v, :yearOfEra = v, :dayOfYear = v ])
ChronoLocalDate dateYearDay(int prolepticYear, int dayOfYear)
ChronoLocalDate dateYearDay(Era era, int yearOfEra, int dayOfYear)
epochSecondepochSecond([prolepticYear,month,dayOfMonth,hour,minute,second,zoneOffset])
epochSecond([ :prolepticYear = v, :month = v, :dayOfMonth = v, :hour = v, :minute = v, :second = v, :zoneOffset = v ])
epochSecond([era,yearOfEra,month,dayOfMonth,hour,minute,second,zoneOffset])
epochSecond([ :era = v, :yearOfEra = v, :month = v, :dayOfMonth = v, :hour = v, :minute = v, :second = v, :zoneOffset = v ])
long epochSecond(int prolepticYear, int month, int dayOfMonth, int hour, int minute, int second, ZoneOffset zoneOffset)
long epochSecond(Era era, int yearOfEra, int month, int dayOfMonth, int hour, int minute, int second, ZoneOffset zoneOffset)
equalsequals(obj)boolean equals(Object obj)
eraOferaOf(eraValue)Era eraOf(int eraValue)
eraseras()List eras()
fromfrom(temporal)static Chronology from(TemporalAccessor temporal)
getAvailableChronologiesgetAvailableChronologies()static Set getAvailableChronologies()
getCalendarTypegetCalendarType()String getCalendarType()
getDisplayNamegetDisplayName(style,locale)String getDisplayName(TextStyle style, Locale locale)
getIdgetId()String getId()
hashCodehashCode()int hashCode()
isIsoBasedisIsoBased()boolean isIsoBased()
isLeapYearisLeapYear(prolepticYear)boolean isLeapYear(long prolepticYear)
localDateTimelocalDateTime(temporal)ChronoLocalDateTime localDateTime(TemporalAccessor temporal)
ofof(id)static Chronology of(String id)
ofLocaleofLocale(locale)static Chronology ofLocale(Locale locale)
periodperiod(years,months,days)ChronoPeriod period(int years, int months, int days)
prolepticYearprolepticYear(era,yearOfEra)int prolepticYear(Era era, int yearOfEra)
rangerange(field)ValueRange range(ChronoField field)
resolveDateresolveDate(fieldValues,resolverStyle)ChronoLocalDate resolveDate(Map fieldValues, ResolverStyle resolverStyle)
zonedDateTimezonedDateTime(temporal)
zonedDateTime([instant,zone])
zonedDateTime([ :instant = v, :zone = v ])
ChronoZonedDateTime zonedDateTime(TemporalAccessor temporal)
ChronoZonedDateTime zonedDateTime(Instant instant, ZoneId zone)

ChronoPeriod#

interface · java.time.chrono.ChronoPeriod

Extends: TemporalAmount

Methods

MethodRing callJava overloads
@get@get(unit)long get(TemporalUnit unit)
addToaddTo(temporal)Temporal addTo(Temporal temporal)
betweenbetween(startDateInclusive,endDateExclusive)static ChronoPeriod between(ChronoLocalDate startDateInclusive, ChronoLocalDate endDateExclusive)
equalsequals(obj)boolean equals(Object obj)
getChronologygetChronology()Chronology getChronology()
getUnitsgetUnits()List getUnits()
hashCodehashCode()int hashCode()
isNegativeisNegative()boolean isNegative()
isZeroisZero()boolean isZero()
minusminus(amountToSubtract)ChronoPeriod minus(TemporalAmount amountToSubtract)
multipliedBymultipliedBy(scalar)ChronoPeriod multipliedBy(int scalar)
negatednegated()ChronoPeriod negated()
normalizednormalized()ChronoPeriod normalized()
plusplus(amountToAdd)ChronoPeriod plus(TemporalAmount amountToAdd)
subtractFromsubtractFrom(temporal)Temporal subtractFrom(Temporal temporal)

ChronoZonedDateTime#

interface · java.time.chrono.ChronoZonedDateTime

Extends: Temporal, Comparable

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
compareTocompareTo(other)int compareTo(ChronoZonedDateTime other)
equalsequals(obj)boolean equals(Object obj)
formatformat(formatter)String format(DateTimeFormatter formatter)
fromfrom(temporal)static ChronoZonedDateTime from(TemporalAccessor temporal)
getChronologygetChronology()Chronology getChronology()
getLonggetLong(field)long getLong(TemporalField field)
getOffsetgetOffset()ZoneOffset getOffset()
getZonegetZone()ZoneId getZone()
hashCodehashCode()int hashCode()
isAfterisAfter(other)boolean isAfter(ChronoZonedDateTime other)
isBeforeisBefore(other)boolean isBefore(ChronoZonedDateTime other)
isEqualisEqual(other)boolean isEqual(ChronoZonedDateTime other)
isSupportedisSupported(field)boolean isSupported(TemporalField field)
boolean isSupported(TemporalUnit unit)
minusminus(amount)
minus([amountToSubtract,unit])
minus([ :amountToSubtract = v, :unit = v ])
ChronoZonedDateTime minus(TemporalAmount amount)
ChronoZonedDateTime minus(long amountToSubtract, TemporalUnit unit)
plusplus(amount)
plus([amountToAdd,unit])
plus([ :amountToAdd = v, :unit = v ])
ChronoZonedDateTime plus(TemporalAmount amount)
ChronoZonedDateTime plus(long amountToAdd, TemporalUnit unit)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
timeLineOrdertimeLineOrder()static Comparator timeLineOrder()
toEpochSecondtoEpochSecond()long toEpochSecond()
toInstanttoInstant()Instant toInstant()
toLocalDatetoLocalDate()ChronoLocalDate toLocalDate()
toLocalDateTimetoLocalDateTime()ChronoLocalDateTime toLocalDateTime()
toLocalTimetoLocalTime()LocalTime toLocalTime()
untiluntil(endExclusive,unit)long until(Temporal endExclusive, TemporalUnit unit)
withwith(adjuster)
with([field,newValue])
with([ :field = v, :newValue = v ])
ChronoZonedDateTime with(TemporalAdjuster adjuster)
ChronoZonedDateTime with(TemporalField field, long newValue)
withEarlierOffsetAtOverlapwithEarlierOffsetAtOverlap()ChronoZonedDateTime withEarlierOffsetAtOverlap()
withLaterOffsetAtOverlapwithLaterOffsetAtOverlap()ChronoZonedDateTime withLaterOffsetAtOverlap()
withZoneSameInstantwithZoneSameInstant(zone)ChronoZonedDateTime withZoneSameInstant(ZoneId zone)
withZoneSameLocalwithZoneSameLocal(zone)ChronoZonedDateTime withZoneSameLocal(ZoneId zone)

Era#

interface · java.time.chrono.Era

Extends: TemporalAccessor, TemporalAdjuster

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
getDisplayNamegetDisplayName(style,locale)String getDisplayName(TextStyle style, Locale locale)
getLonggetLong(field)long getLong(TemporalField field)
getValuegetValue()int getValue()
isSupportedisSupported(field)boolean isSupported(TemporalField field)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)

HijrahChronology#

class final · extends AbstractChronology · java.time.chrono.HijrahChronology

Implements: Serializable

Fields

NameTypeAccessIn Ring
INSTANCEHijrahChronologyconstant · statico.INSTANCE

The methods and fields of AbstractChronology are inherited.

HijrahDate#

class final · extends Object · java.time.chrono.HijrahDate

Implements: ChronoLocalDate, Serializable

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
@now@now(clock)static HijrahDate now(Clock clock)
static HijrahDate now(ZoneId zone)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
atTimeatTime(localTime)ChronoLocalDateTime atTime(LocalTime localTime)
compareTocompareTo(other)int compareTo(ChronoLocalDate other)
formatformat(formatter)String format(DateTimeFormatter formatter)
fromfrom(temporal)static HijrahDate from(TemporalAccessor temporal)
getChronologygetChronology()HijrahChronology getChronology()
getEragetEra()HijrahEra getEra()
getLonggetLong(field)long getLong(TemporalField field)
isAfterisAfter(other)boolean isAfter(ChronoLocalDate other)
isBeforeisBefore(other)boolean isBefore(ChronoLocalDate other)
isEqualisEqual(other)boolean isEqual(ChronoLocalDate other)
isLeapYearisLeapYear()boolean isLeapYear()
isSupportedisSupported(unit)boolean isSupported(TemporalUnit unit)
boolean isSupported(TemporalField field)
lengthOfMonthlengthOfMonth()int lengthOfMonth()
lengthOfYearlengthOfYear()int lengthOfYear()
minusminus(amount)
minus([amountToSubtract,unit])
minus([ :amountToSubtract = v, :unit = v ])
HijrahDate minus(TemporalAmount amount)
HijrahDate minus(long amountToSubtract, TemporalUnit unit)
nownow()static HijrahDate now()
ofof(prolepticYear,month,dayOfMonth)static HijrahDate of(int prolepticYear, int month, int dayOfMonth)
plusplus(amount)
plus([amountToAdd,unit])
plus([ :amountToAdd = v, :unit = v ])
HijrahDate plus(TemporalAmount amount)
HijrahDate plus(long amountToAdd, TemporalUnit unit)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
toEpochDaytoEpochDay()long toEpochDay()
untiluntil(endDate)ChronoPeriod until(ChronoLocalDate endDate)
withwith(adjuster)
with([field,newValue])
with([ :field = v, :newValue = v ])
HijrahDate with(TemporalAdjuster adjuster)
HijrahDate with(TemporalField field, long newValue)
withVariantwithVariant(chronology)HijrahDate withVariant(HijrahChronology chronology)

The methods and fields of Object are inherited.

HijrahEra#

enum · extends Enum · java.time.chrono.HijrahEra

Implements: Era

Fields

NameTypeAccessIn Ring
AHHijrahEraconstant · statico.AH

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
getDisplayNamegetDisplayName(style,locale)String getDisplayName(TextStyle style, Locale locale)
getLonggetLong(field)long getLong(TemporalField field)
getValuegetValue()int getValue()
isSupportedisSupported(field)boolean isSupported(TemporalField field)
ofof(hijrahEra)static HijrahEra of(int hijrahEra)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static HijrahEra valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static HijrahEra[] values()

The methods and fields of Enum are inherited.

IsoChronology#

class final · extends AbstractChronology · java.time.chrono.IsoChronology

Implements: Serializable

Fields

NameTypeAccessIn Ring
INSTANCEIsoChronologyconstant · statico.INSTANCE

The methods and fields of AbstractChronology are inherited.

IsoEra#

enum · extends Enum · java.time.chrono.IsoEra

Implements: Era

Fields

NameTypeAccessIn Ring
BCEIsoEraconstant · statico.BCE
CEIsoEraconstant · statico.CE

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
getDisplayNamegetDisplayName(style,locale)String getDisplayName(TextStyle style, Locale locale)
getLonggetLong(field)long getLong(TemporalField field)
getValuegetValue()int getValue()
isSupportedisSupported(field)boolean isSupported(TemporalField field)
ofof(isoEra)static IsoEra of(int isoEra)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static IsoEra valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static IsoEra[] values()

The methods and fields of Enum are inherited.

JapaneseChronology#

class final · extends AbstractChronology · java.time.chrono.JapaneseChronology

Implements: Serializable

Fields

NameTypeAccessIn Ring
INSTANCEJapaneseChronologyconstant · statico.INSTANCE

The methods and fields of AbstractChronology are inherited.

JapaneseDate#

class final · extends Object · java.time.chrono.JapaneseDate

Implements: ChronoLocalDate, Serializable

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
@now@now(clock)static JapaneseDate now(Clock clock)
static JapaneseDate now(ZoneId zone)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
atTimeatTime(localTime)ChronoLocalDateTime atTime(LocalTime localTime)
compareTocompareTo(other)int compareTo(ChronoLocalDate other)
formatformat(formatter)String format(DateTimeFormatter formatter)
fromfrom(temporal)static JapaneseDate from(TemporalAccessor temporal)
getChronologygetChronology()JapaneseChronology getChronology()
getEragetEra()JapaneseEra getEra()
getLonggetLong(field)long getLong(TemporalField field)
isAfterisAfter(other)boolean isAfter(ChronoLocalDate other)
isBeforeisBefore(other)boolean isBefore(ChronoLocalDate other)
isEqualisEqual(other)boolean isEqual(ChronoLocalDate other)
isLeapYearisLeapYear()boolean isLeapYear()
isSupportedisSupported(field)boolean isSupported(TemporalField field)
boolean isSupported(TemporalUnit unit)
lengthOfMonthlengthOfMonth()int lengthOfMonth()
lengthOfYearlengthOfYear()int lengthOfYear()
minusminus(amount)
minus([amountToSubtract,unit])
minus([ :amountToSubtract = v, :unit = v ])
JapaneseDate minus(TemporalAmount amount)
JapaneseDate minus(long amountToSubtract, TemporalUnit unit)
nownow()static JapaneseDate now()
ofof([prolepticYear,month,dayOfMonth])
of([ :prolepticYear = v, :month = v, :dayOfMonth = v ])
of([era,yearOfEra,month,dayOfMonth])
of([ :era = v, :yearOfEra = v, :month = v, :dayOfMonth = v ])
static JapaneseDate of(int prolepticYear, int month, int dayOfMonth)
static JapaneseDate of(JapaneseEra era, int yearOfEra, int month, int dayOfMonth)
plusplus(amount)
plus([amountToAdd,unit])
plus([ :amountToAdd = v, :unit = v ])
JapaneseDate plus(TemporalAmount amount)
JapaneseDate plus(long amountToAdd, TemporalUnit unit)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
toEpochDaytoEpochDay()long toEpochDay()
untiluntil(endDate)ChronoPeriod until(ChronoLocalDate endDate)
withwith(adjuster)
with([field,newValue])
with([ :field = v, :newValue = v ])
JapaneseDate with(TemporalAdjuster adjuster)
JapaneseDate with(TemporalField field, long newValue)

The methods and fields of Object are inherited.

JapaneseEra#

class final · extends Object · java.time.chrono.JapaneseEra

Implements: Era, Serializable

Fields

NameTypeAccessIn Ring
MEIJIJapaneseEraconstant · statico.MEIJI
TAISHOJapaneseEraconstant · statico.TAISHO
SHOWAJapaneseEraconstant · statico.SHOWA
HEISEIJapaneseEraconstant · statico.HEISEI
REIWAJapaneseEraconstant · statico.REIWA

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
getDisplayNamegetDisplayName(style,locale)String getDisplayName(TextStyle style, Locale locale)
getLonggetLong(field)long getLong(TemporalField field)
getValuegetValue()int getValue()
isSupportedisSupported(field)boolean isSupported(TemporalField field)
ofof(japaneseEra)static JapaneseEra of(int japaneseEra)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
valueOfvalueOf(japaneseEra)static JapaneseEra valueOf(String japaneseEra)
valuesvalues()static JapaneseEra[] values()

The methods and fields of Object are inherited.

MinguoChronology#

class final · extends AbstractChronology · java.time.chrono.MinguoChronology

Implements: Serializable

Fields

NameTypeAccessIn Ring
INSTANCEMinguoChronologyconstant · statico.INSTANCE

The methods and fields of AbstractChronology are inherited.

MinguoDate#

class final · extends Object · java.time.chrono.MinguoDate

Implements: ChronoLocalDate, Serializable

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
@now@now(clock)static MinguoDate now(Clock clock)
static MinguoDate now(ZoneId zone)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
atTimeatTime(localTime)ChronoLocalDateTime atTime(LocalTime localTime)
compareTocompareTo(other)int compareTo(ChronoLocalDate other)
formatformat(formatter)String format(DateTimeFormatter formatter)
fromfrom(temporal)static MinguoDate from(TemporalAccessor temporal)
getChronologygetChronology()MinguoChronology getChronology()
getEragetEra()MinguoEra getEra()
getLonggetLong(field)long getLong(TemporalField field)
isAfterisAfter(other)boolean isAfter(ChronoLocalDate other)
isBeforeisBefore(other)boolean isBefore(ChronoLocalDate other)
isEqualisEqual(other)boolean isEqual(ChronoLocalDate other)
isLeapYearisLeapYear()boolean isLeapYear()
isSupportedisSupported(unit)boolean isSupported(TemporalUnit unit)
boolean isSupported(TemporalField field)
lengthOfMonthlengthOfMonth()int lengthOfMonth()
lengthOfYearlengthOfYear()int lengthOfYear()
minusminus(amount)
minus([amountToSubtract,unit])
minus([ :amountToSubtract = v, :unit = v ])
MinguoDate minus(TemporalAmount amount)
MinguoDate minus(long amountToSubtract, TemporalUnit unit)
nownow()static MinguoDate now()
ofof(prolepticYear,month,dayOfMonth)static MinguoDate of(int prolepticYear, int month, int dayOfMonth)
plusplus(amount)
plus([amountToAdd,unit])
plus([ :amountToAdd = v, :unit = v ])
MinguoDate plus(TemporalAmount amount)
MinguoDate plus(long amountToAdd, TemporalUnit unit)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
toEpochDaytoEpochDay()long toEpochDay()
untiluntil(endDate)ChronoPeriod until(ChronoLocalDate endDate)
withwith(adjuster)
with([field,newValue])
with([ :field = v, :newValue = v ])
MinguoDate with(TemporalAdjuster adjuster)
MinguoDate with(TemporalField field, long newValue)

The methods and fields of Object are inherited.

MinguoEra#

enum · extends Enum · java.time.chrono.MinguoEra

Implements: Era

Fields

NameTypeAccessIn Ring
BEFORE_ROCMinguoEraconstant · statico.BEFORE_ROC
ROCMinguoEraconstant · statico.ROC

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
getDisplayNamegetDisplayName(style,locale)String getDisplayName(TextStyle style, Locale locale)
getLonggetLong(field)long getLong(TemporalField field)
getValuegetValue()int getValue()
isSupportedisSupported(field)boolean isSupported(TemporalField field)
ofof(minguoEra)static MinguoEra of(int minguoEra)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static MinguoEra valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static MinguoEra[] values()

The methods and fields of Enum are inherited.

ThaiBuddhistChronology#

class final · extends AbstractChronology · java.time.chrono.ThaiBuddhistChronology

Implements: Serializable

Fields

NameTypeAccessIn Ring
INSTANCEThaiBuddhistChronologyconstant · statico.INSTANCE

The methods and fields of AbstractChronology are inherited.

ThaiBuddhistDate#

class final · extends Object · java.time.chrono.ThaiBuddhistDate

Implements: ChronoLocalDate, Serializable

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
@now@now(clock)static ThaiBuddhistDate now(Clock clock)
static ThaiBuddhistDate now(ZoneId zone)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
atTimeatTime(localTime)ChronoLocalDateTime atTime(LocalTime localTime)
compareTocompareTo(other)int compareTo(ChronoLocalDate other)
formatformat(formatter)String format(DateTimeFormatter formatter)
fromfrom(temporal)static ThaiBuddhistDate from(TemporalAccessor temporal)
getChronologygetChronology()ThaiBuddhistChronology getChronology()
getEragetEra()ThaiBuddhistEra getEra()
getLonggetLong(field)long getLong(TemporalField field)
isAfterisAfter(other)boolean isAfter(ChronoLocalDate other)
isBeforeisBefore(other)boolean isBefore(ChronoLocalDate other)
isEqualisEqual(other)boolean isEqual(ChronoLocalDate other)
isLeapYearisLeapYear()boolean isLeapYear()
isSupportedisSupported(unit)boolean isSupported(TemporalUnit unit)
boolean isSupported(TemporalField field)
lengthOfMonthlengthOfMonth()int lengthOfMonth()
lengthOfYearlengthOfYear()int lengthOfYear()
minusminus(amount)
minus([amountToSubtract,unit])
minus([ :amountToSubtract = v, :unit = v ])
ThaiBuddhistDate minus(TemporalAmount amount)
ThaiBuddhistDate minus(long amountToSubtract, TemporalUnit unit)
nownow()static ThaiBuddhistDate now()
ofof(prolepticYear,month,dayOfMonth)static ThaiBuddhistDate of(int prolepticYear, int month, int dayOfMonth)
plusplus(amount)
plus([amountToAdd,unit])
plus([ :amountToAdd = v, :unit = v ])
ThaiBuddhistDate plus(TemporalAmount amount)
ThaiBuddhistDate plus(long amountToAdd, TemporalUnit unit)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
toEpochDaytoEpochDay()long toEpochDay()
untiluntil(endDate)ChronoPeriod until(ChronoLocalDate endDate)
withwith(adjuster)
with([field,newValue])
with([ :field = v, :newValue = v ])
ThaiBuddhistDate with(TemporalAdjuster adjuster)
ThaiBuddhistDate with(TemporalField field, long newValue)

The methods and fields of Object are inherited.

ThaiBuddhistEra#

enum · extends Enum · java.time.chrono.ThaiBuddhistEra

Implements: Era

Fields

NameTypeAccessIn Ring
BEFORE_BEThaiBuddhistEraconstant · statico.BEFORE_BE
BEThaiBuddhistEraconstant · statico.BE

Methods

MethodRing callJava overloads
@get@get(field)int get(TemporalField field)
adjustIntoadjustInto(temporal)Temporal adjustInto(Temporal temporal)
getDisplayNamegetDisplayName(style,locale)String getDisplayName(TextStyle style, Locale locale)
getLonggetLong(field)long getLong(TemporalField field)
getValuegetValue()int getValue()
isSupportedisSupported(field)boolean isSupported(TemporalField field)
ofof(thaiBuddhistEra)static ThaiBuddhistEra of(int thaiBuddhistEra)
queryquery(query)Object query(TemporalQuery query)
rangerange(field)ValueRange range(TemporalField field)
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static ThaiBuddhistEra valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static ThaiBuddhistEra[] values()

The methods and fields of Enum are inherited.

RingJava - use Java classes and methods from Ring programs.