Package | Description |
---|---|
java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
Modifier and Type | Method and Description |
---|---|
JapaneseDate |
JapaneseChronology.date(Era era,
int yearOfEra,
int month,
int dayOfMonth)
Obtains a local date in Japanese calendar system from the
era, year-of-era, month-of-year and day-of-month fields.
|
JapaneseDate |
JapaneseChronology.date(int prolepticYear,
int month,
int dayOfMonth)
Obtains a local date in Japanese calendar system from the
proleptic-year, month-of-year and day-of-month fields.
|
JapaneseDate |
JapaneseChronology.date(TemporalAccessor temporal) |
JapaneseDate |
JapaneseChronology.dateEpochDay(long epochDay)
Obtains a local date in the Japanese calendar system from the epoch-day.
|
JapaneseDate |
JapaneseChronology.dateNow() |
JapaneseDate |
JapaneseChronology.dateNow(Clock clock) |
JapaneseDate |
JapaneseChronology.dateNow(ZoneId zone) |
JapaneseDate |
JapaneseChronology.dateYearDay(Era era,
int yearOfEra,
int dayOfYear)
Obtains a local date in Japanese calendar system from the
era, year-of-era and day-of-year fields.
|
JapaneseDate |
JapaneseChronology.dateYearDay(int prolepticYear,
int dayOfYear)
Obtains a local date in Japanese calendar system from the
proleptic-year and day-of-year fields.
|
static JapaneseDate |
JapaneseDate.from(TemporalAccessor temporal)
Obtains a
JapaneseDate from a temporal object. |
JapaneseDate |
JapaneseDate.minus(long amountToAdd,
TemporalUnit unit) |
JapaneseDate |
JapaneseDate.minus(TemporalAmount amount)
Returns an object of the same type as this object with an amount subtracted.
|
static JapaneseDate |
JapaneseDate.now()
Obtains the current
JapaneseDate from the system clock in the default time-zone. |
static JapaneseDate |
JapaneseDate.now(Clock clock)
Obtains the current
JapaneseDate from the specified clock. |
static JapaneseDate |
JapaneseDate.now(ZoneId zone)
Obtains the current
JapaneseDate from the system clock in the specified time-zone. |
static JapaneseDate |
JapaneseDate.of(int prolepticYear,
int month,
int dayOfMonth)
Obtains a
JapaneseDate representing a date in the Japanese calendar
system from the proleptic-year, month-of-year and day-of-month fields. |
static JapaneseDate |
JapaneseDate.of(JapaneseEra era,
int yearOfEra,
int month,
int dayOfMonth)
Obtains a
JapaneseDate representing a date in the Japanese calendar
system from the era, year-of-era, month-of-year and day-of-month fields. |
JapaneseDate |
JapaneseDate.plus(long amountToAdd,
TemporalUnit unit) |
JapaneseDate |
JapaneseDate.plus(TemporalAmount amount)
Returns an object of the same type as this object with an amount added.
|
JapaneseDate |
JapaneseChronology.resolveDate(Map<TemporalField,Long> fieldValues,
ResolverStyle resolverStyle) |
JapaneseDate |
JapaneseDate.with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.
|
JapaneseDate |
JapaneseDate.with(TemporalField field,
long newValue) |
Modifier and Type | Method and Description |
---|---|
ChronoLocalDateTime<JapaneseDate> |
JapaneseDate.atTime(LocalTime localTime) |
ChronoLocalDateTime<JapaneseDate> |
JapaneseChronology.localDateTime(TemporalAccessor temporal) |
ChronoZonedDateTime<JapaneseDate> |
JapaneseChronology.zonedDateTime(Instant instant,
ZoneId zone) |
ChronoZonedDateTime<JapaneseDate> |
JapaneseChronology.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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.