Uses of Interface
java.time.chrono.ChronoLocalDate
Package
Description
The main API for dates, times, instants, and durations.
Generic API for calendar systems other than the default ISO.
Provides classes to print and parse dates and times.
-
Uses of ChronoLocalDate in java.time
Modifier and TypeClassDescriptionfinal class
A date without a time-zone in the ISO-8601 calendar system, such as2007-12-03
.Modifier and TypeMethodDescriptionint
LocalDate.compareTo
(ChronoLocalDate other) Compares this date to another date.boolean
LocalDate.isAfter
(ChronoLocalDate other) Checks if this date is after the specified date.boolean
LocalDate.isBefore
(ChronoLocalDate other) Checks if this date is before the specified date.boolean
LocalDate.isEqual
(ChronoLocalDate other) Checks if this date is equal to the specified date.LocalDate.until
(ChronoLocalDate endDateExclusive) Calculates the period between this date and another date as aPeriod
. -
Uses of ChronoLocalDate in java.time.chrono
Modifier and TypeInterfaceDescriptioninterface
ChronoLocalDateTime<D extends ChronoLocalDate>
A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases.interface
ChronoZonedDateTime<D extends ChronoLocalDate>
A date-time with a time-zone in an arbitrary chronology, intended for advanced globalization use cases.Modifier and TypeClassDescriptionfinal class
A date in the Hijrah calendar system.final class
A date in the Japanese Imperial calendar system.final class
A date in the Minguo calendar system.final class
A date in the Thai Buddhist calendar system.Modifier and TypeMethodDescriptionChronology.date
(int prolepticYear, int month, int dayOfMonth) Obtains a local date in this chronology from the proleptic-year, month-of-year and day-of-month fields.default ChronoLocalDate
Obtains a local date in this chronology from the era, year-of-era, month-of-year and day-of-month fields.Chronology.date
(TemporalAccessor temporal) Obtains a local date in this chronology from another temporal object.Chronology.dateEpochDay
(long epochDay) Obtains a local date in this chronology from the epoch-day.default ChronoLocalDate
Chronology.dateNow()
Obtains the current local date in this chronology from the system clock in the default time-zone.default ChronoLocalDate
Obtains the current local date in this chronology from the specified clock.default ChronoLocalDate
Obtains the current local date in this chronology from the system clock in the specified time-zone.Chronology.dateYearDay
(int prolepticYear, int dayOfYear) Obtains a local date in this chronology from the proleptic-year and day-of-year fields.default ChronoLocalDate
Chronology.dateYearDay
(Era era, int yearOfEra, int dayOfYear) Obtains a local date in this chronology from the era, year-of-era and day-of-year fields.static ChronoLocalDate
ChronoLocalDate.from
(TemporalAccessor temporal) Obtains an instance ofChronoLocalDate
from a temporal object.default ChronoLocalDate
ChronoLocalDate.minus
(long amountToSubtract, TemporalUnit unit) Returns an object of the same type as this object with the specified period subtracted.default ChronoLocalDate
ChronoLocalDate.minus
(TemporalAmount amount) Returns an object of the same type as this object with an amount subtracted.default ChronoLocalDate
ChronoLocalDate.plus
(long amountToAdd, TemporalUnit unit) Returns an object of the same type as this object with the specified period added.default ChronoLocalDate
ChronoLocalDate.plus
(TemporalAmount amount) Returns an object of the same type as this object with an amount added.AbstractChronology.resolveDate
(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) Resolves parsedChronoField
values into a date during parsing.Chronology.resolveDate
(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle) Resolves parsedChronoField
values into a date during parsing.default ChronoLocalDate
ChronoLocalDate.with
(TemporalAdjuster adjuster) Returns an adjusted object of the same type as this object with the adjustment made.default ChronoLocalDate
ChronoLocalDate.with
(TemporalField field, long newValue) Returns an object of the same type as this object with the specified field altered.Modifier and TypeMethodDescriptiondefault ChronoLocalDateTime
<? extends ChronoLocalDate> Chronology.localDateTime
(TemporalAccessor temporal) Obtains a local date-time in this chronology from another temporal object.static Comparator
<ChronoLocalDate> ChronoLocalDate.timeLineOrder()
Gets a comparator that comparesChronoLocalDate
in time-line order ignoring the chronology.default ChronoZonedDateTime
<? extends ChronoLocalDate> Chronology.zonedDateTime
(Instant instant, ZoneId zone) Obtains aChronoZonedDateTime
in this chronology from anInstant
.default ChronoZonedDateTime
<? extends ChronoLocalDate> Chronology.zonedDateTime
(TemporalAccessor temporal) Obtains aChronoZonedDateTime
in this chronology from another temporal object.Modifier and TypeMethodDescriptionstatic ChronoPeriod
ChronoPeriod.between
(ChronoLocalDate startDateInclusive, ChronoLocalDate endDateExclusive) Obtains aChronoPeriod
consisting of amount of time between two dates.default int
ChronoLocalDate.compareTo
(ChronoLocalDate other) Compares this date to another date, including the chronology.default boolean
ChronoLocalDate.isAfter
(ChronoLocalDate other) Checks if this date is after the specified date ignoring the chronology.default boolean
ChronoLocalDate.isBefore
(ChronoLocalDate other) Checks if this date is before the specified date ignoring the chronology.default boolean
ChronoLocalDate.isEqual
(ChronoLocalDate other) Checks if this date is equal to the specified date ignoring the chronology.ChronoLocalDate.until
(ChronoLocalDate endDateExclusive) Calculates the period between this date and another date as aChronoPeriod
.HijrahDate.until
(ChronoLocalDate endDate) JapaneseDate.until
(ChronoLocalDate endDate) MinguoDate.until
(ChronoLocalDate endDate) ThaiBuddhistDate.until
(ChronoLocalDate endDate) -
Uses of ChronoLocalDate in java.time.format
Modifier and TypeMethodDescriptionDateTimeFormatterBuilder.appendValueReduced
(TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate) Appends the reduced value of a date-time field to the formatter.