|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ChronoPeriod | |
|---|---|
| org.threeten.bp | The main API for dates, times, instants, and durations. |
| org.threeten.bp.chrono | Support for calendar systems other than the default ISO. |
| Uses of ChronoPeriod in org.threeten.bp |
|---|
| Subclasses of ChronoPeriod in org.threeten.bp | |
|---|---|
class |
Period
A date-based amount of time, such as '2 years, 3 months and 4 days'. |
| Uses of ChronoPeriod in org.threeten.bp.chrono |
|---|
| Methods in org.threeten.bp.chrono that return ChronoPeriod | |
|---|---|
static ChronoPeriod |
ChronoPeriod.between(ChronoLocalDate startDateInclusive,
ChronoLocalDate endDateExclusive)
Obtains a ChronoPeriod consisting of amount of time between two dates. |
abstract ChronoPeriod |
ChronoPeriod.minus(TemporalAmount amountToSubtract)
Returns a copy of this period with the specified period subtracted. |
abstract ChronoPeriod |
ChronoPeriod.multipliedBy(int scalar)
Returns a new instance with each amount in this period in this period multiplied by the specified scalar. |
ChronoPeriod |
ChronoPeriod.negated()
Returns a new instance with each amount in this period negated. |
abstract ChronoPeriod |
ChronoPeriod.normalized()
Returns a copy of this period with the amounts of each unit normalized. |
ChronoPeriod |
Chronology.period(int years,
int months,
int days)
Obtains a period for this chronology based on years, months and days. |
abstract ChronoPeriod |
ChronoPeriod.plus(TemporalAmount amountToAdd)
Returns a copy of this period with the specified period added. |
ChronoPeriod |
ThaiBuddhistDate.until(ChronoLocalDate endDate)
|
ChronoPeriod |
MinguoDate.until(ChronoLocalDate endDate)
|
ChronoPeriod |
JapaneseDate.until(ChronoLocalDate endDate)
|
abstract ChronoPeriod |
ChronoLocalDate.until(ChronoLocalDate endDateExclusive)
Calculates the period between this date and another date as a ChronoPeriod. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||