Uses of Class
org.threeten.bp.chrono.ChronoPeriod
Packages that use ChronoPeriod
Package
Description
The main API for dates, times, instants, and durations.
Support for calendar systems other than the default ISO.
-
Uses of ChronoPeriod in org.threeten.bp
Subclasses of ChronoPeriod in org.threeten.bpModifier and TypeClassDescriptionfinal classA date-based amount of time, such as '2 years, 3 months and 4 days'. -
Uses of ChronoPeriod in org.threeten.bp.chrono
Subclasses of ChronoPeriod in org.threeten.bp.chronoModifier and TypeClassDescription(package private) final classAn implementation ofChronoPeriod.Methods in org.threeten.bp.chrono that return ChronoPeriodModifier and TypeMethodDescriptionstatic ChronoPeriodChronoPeriod.between(ChronoLocalDate startDateInclusive, ChronoLocalDate endDateExclusive) Obtains aChronoPeriodconsisting of amount of time between two dates.abstract ChronoPeriodChronoPeriod.minus(TemporalAmount amountToSubtract) Returns a copy of this period with the specified period subtracted.ChronoPeriodImpl.minus(TemporalAmount amountToSubtract) abstract ChronoPeriodChronoPeriod.multipliedBy(int scalar) Returns a new instance with each amount in this period in this period multiplied by the specified scalar.ChronoPeriodImpl.multipliedBy(int scalar) ChronoPeriod.negated()Returns a new instance with each amount in this period negated.abstract ChronoPeriodChronoPeriod.normalized()Returns a copy of this period with the amounts of each unit normalized.ChronoPeriodImpl.normalized()Chronology.period(int years, int months, int days) Obtains a period for this chronology based on years, months and days.abstract ChronoPeriodChronoPeriod.plus(TemporalAmount amountToAdd) Returns a copy of this period with the specified period added.ChronoPeriodImpl.plus(TemporalAmount amountToAdd) ChronoDateImpl.until(ChronoLocalDate endDate) abstract ChronoPeriodChronoLocalDate.until(ChronoLocalDate endDateExclusive) Calculates the period between this date and another date as aChronoPeriod.JapaneseDate.until(ChronoLocalDate endDate) MinguoDate.until(ChronoLocalDate endDate) ThaiBuddhistDate.until(ChronoLocalDate endDate)