Uses of Interface
java.time.chrono.ChronoLocalDate
| Package | Description |
|---|---|
| java.time |
The main API for dates, times, instants, and durations.
|
| java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
| java.time.format |
Provides classes to print and parse dates and times.
|
-
Uses of ChronoLocalDate in java.time
Classes in java.time that implement ChronoLocalDate Modifier and Type Class Description classLocalDateA date without a time-zone in the ISO-8601 calendar system, such as2007-12-03.Methods in java.time with parameters of type ChronoLocalDate Modifier and Type Method Description intLocalDate. compareTo(ChronoLocalDate other)Compares this date to another date.booleanLocalDate. isAfter(ChronoLocalDate other)Checks if this date is after the specified date.booleanLocalDate. isBefore(ChronoLocalDate other)Checks if this date is before the specified date.booleanLocalDate. isEqual(ChronoLocalDate other)Checks if this date is equal to the specified date.PeriodLocalDate. until(ChronoLocalDate endDateExclusive)Calculates the period between this date and another date as aPeriod. -
Uses of ChronoLocalDate in java.time.chrono
Classes in java.time.chrono with type parameters of type ChronoLocalDate Modifier and Type Interface Description interfaceChronoLocalDateTime<D extends ChronoLocalDate>A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases.interfaceChronoZonedDateTime<D extends ChronoLocalDate>A date-time with a time-zone in an arbitrary chronology, intended for advanced globalization use cases.Classes in java.time.chrono that implement ChronoLocalDate Modifier and Type Class Description classHijrahDateA date in the Hijrah calendar system.classJapaneseDateA date in the Japanese Imperial calendar system.classMinguoDateA date in the Minguo calendar system.classThaiBuddhistDateA date in the Thai Buddhist calendar system.Methods in java.time.chrono that return ChronoLocalDate Modifier and Type Method Description ChronoLocalDateChronology. 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 ChronoLocalDateChronology. date(Era era, int yearOfEra, int month, int dayOfMonth)Obtains a local date in this chronology from the era, year-of-era, month-of-year and day-of-month fields.ChronoLocalDateChronology. date(TemporalAccessor temporal)Obtains a local date in this chronology from another temporal object.ChronoLocalDateChronology. dateEpochDay(long epochDay)Obtains a local date in this chronology from the epoch-day.default ChronoLocalDateChronology. dateNow()Obtains the current local date in this chronology from the system clock in the default time-zone.default ChronoLocalDateChronology. dateNow(Clock clock)Obtains the current local date in this chronology from the specified clock.default ChronoLocalDateChronology. dateNow(ZoneId zone)Obtains the current local date in this chronology from the system clock in the specified time-zone.ChronoLocalDateChronology. dateYearDay(int prolepticYear, int dayOfYear)Obtains a local date in this chronology from the proleptic-year and day-of-year fields.default ChronoLocalDateChronology. 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 ChronoLocalDateChronoLocalDate. from(TemporalAccessor temporal)Obtains an instance ofChronoLocalDatefrom a temporal object.default ChronoLocalDateChronoLocalDate. minus(long amountToSubtract, TemporalUnit unit)Returns an object of the same type as this object with the specified period subtracted.default ChronoLocalDateChronoLocalDate. minus(TemporalAmount amount)Returns an object of the same type as this object with an amount subtracted.default ChronoLocalDateChronoLocalDate. plus(long amountToAdd, TemporalUnit unit)Returns an object of the same type as this object with the specified period added.default ChronoLocalDateChronoLocalDate. plus(TemporalAmount amount)Returns an object of the same type as this object with an amount added.ChronoLocalDateAbstractChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)Resolves parsedChronoFieldvalues into a date during parsing.ChronoLocalDateChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)Resolves parsedChronoFieldvalues into a date during parsing.default ChronoLocalDateChronoLocalDate. with(TemporalAdjuster adjuster)Returns an adjusted object of the same type as this object with the adjustment made.default ChronoLocalDateChronoLocalDate. with(TemporalField field, long newValue)Returns an object of the same type as this object with the specified field altered.Methods in java.time.chrono that return types with arguments of type ChronoLocalDate Modifier and Type Method Description default 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 comparesChronoLocalDatein time-line order ignoring the chronology.default ChronoZonedDateTime<? extends ChronoLocalDate>Chronology. zonedDateTime(Instant instant, ZoneId zone)Obtains aChronoZonedDateTimein this chronology from anInstant.default ChronoZonedDateTime<? extends ChronoLocalDate>Chronology. zonedDateTime(TemporalAccessor temporal)Obtains aChronoZonedDateTimein this chronology from another temporal object.Methods in java.time.chrono with parameters of type ChronoLocalDate Modifier and Type Method Description static ChronoPeriodChronoPeriod. between(ChronoLocalDate startDateInclusive, ChronoLocalDate endDateExclusive)Obtains aChronoPeriodconsisting of amount of time between two dates.default intChronoLocalDate. compareTo(ChronoLocalDate other)Compares this date to another date, including the chronology.default booleanChronoLocalDate. isAfter(ChronoLocalDate other)Checks if this date is after the specified date ignoring the chronology.default booleanChronoLocalDate. isBefore(ChronoLocalDate other)Checks if this date is before the specified date ignoring the chronology.default booleanChronoLocalDate. isEqual(ChronoLocalDate other)Checks if this date is equal to the specified date ignoring the chronology.ChronoPeriodChronoLocalDate. until(ChronoLocalDate endDateExclusive)Calculates the period between this date and another date as aChronoPeriod. -
Uses of ChronoLocalDate in java.time.format
Methods in java.time.format with parameters of type ChronoLocalDate Modifier and Type Method Description DateTimeFormatterBuilderDateTimeFormatterBuilder. appendValueReduced(TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate)Appends the reduced value of a date-time field to the formatter.