Package | Description |
---|---|
java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
Modifier and Type | Method and Description |
---|---|
ThaiBuddhistDate |
ThaiBuddhistChronology.date(Era era,
int yearOfEra,
int month,
int dayOfMonth)
Obtains a local date in Thai Buddhist calendar system from the
era, year-of-era, month-of-year and day-of-month fields.
|
ThaiBuddhistDate |
ThaiBuddhistChronology.date(int prolepticYear,
int month,
int dayOfMonth)
Obtains a local date in Thai Buddhist calendar system from the
proleptic-year, month-of-year and day-of-month fields.
|
ThaiBuddhistDate |
ThaiBuddhistChronology.date(TemporalAccessor temporal) |
ThaiBuddhistDate |
ThaiBuddhistChronology.dateEpochDay(long epochDay)
Obtains a local date in the Thai Buddhist calendar system from the epoch-day.
|
ThaiBuddhistDate |
ThaiBuddhistChronology.dateNow() |
ThaiBuddhistDate |
ThaiBuddhistChronology.dateNow(Clock clock) |
ThaiBuddhistDate |
ThaiBuddhistChronology.dateNow(ZoneId zone) |
ThaiBuddhistDate |
ThaiBuddhistChronology.dateYearDay(Era era,
int yearOfEra,
int dayOfYear)
Obtains a local date in Thai Buddhist calendar system from the
era, year-of-era and day-of-year fields.
|
ThaiBuddhistDate |
ThaiBuddhistChronology.dateYearDay(int prolepticYear,
int dayOfYear)
Obtains a local date in Thai Buddhist calendar system from the
proleptic-year and day-of-year fields.
|
static ThaiBuddhistDate |
ThaiBuddhistDate.from(TemporalAccessor temporal)
Obtains a
ThaiBuddhistDate from a temporal object. |
ThaiBuddhistDate |
ThaiBuddhistDate.minus(long amountToAdd,
TemporalUnit unit) |
ThaiBuddhistDate |
ThaiBuddhistDate.minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.
|
static ThaiBuddhistDate |
ThaiBuddhistDate.now()
Obtains the current
ThaiBuddhistDate from the system clock in the default time-zone. |
static ThaiBuddhistDate |
ThaiBuddhistDate.now(Clock clock)
Obtains the current
ThaiBuddhistDate from the specified clock. |
static ThaiBuddhistDate |
ThaiBuddhistDate.now(ZoneId zone)
Obtains the current
ThaiBuddhistDate from the system clock in the specified time-zone. |
static ThaiBuddhistDate |
ThaiBuddhistDate.of(int prolepticYear,
int month,
int dayOfMonth)
Obtains a
ThaiBuddhistDate representing a date in the Thai Buddhist calendar
system from the proleptic-year, month-of-year and day-of-month fields. |
ThaiBuddhistDate |
ThaiBuddhistDate.plus(long amountToAdd,
TemporalUnit unit) |
ThaiBuddhistDate |
ThaiBuddhistDate.plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.
|
ThaiBuddhistDate |
ThaiBuddhistChronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle) |
ThaiBuddhistDate |
ThaiBuddhistDate.with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.
|
ThaiBuddhistDate |
ThaiBuddhistDate.with(TemporalField field,
long newValue) |
Modifier and Type | Method and Description |
---|---|
ChronoLocalDateTime<ThaiBuddhistDate> |
ThaiBuddhistDate.atTime(LocalTime localTime) |
ChronoLocalDateTime<ThaiBuddhistDate> |
ThaiBuddhistChronology.localDateTime(TemporalAccessor temporal) |
ChronoZonedDateTime<ThaiBuddhistDate> |
ThaiBuddhistChronology.zonedDateTime(Instant instant,
ZoneId zone) |
ChronoZonedDateTime<ThaiBuddhistDate> |
ThaiBuddhistChronology.zonedDateTime(TemporalAccessor temporal) |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.