Uses of Class
org.threeten.extra.PeriodDuration
Packages that use PeriodDuration
-
Uses of PeriodDuration in org.threeten.extra
Fields in org.threeten.extra declared as PeriodDurationModifier and TypeFieldDescriptionstatic final PeriodDurationPeriodDuration.ZEROA constant for a duration of zero.Methods in org.threeten.extra that return PeriodDurationModifier and TypeMethodDescriptionstatic PeriodDurationObtains an instance consisting of the amount of time between two temporals.static PeriodDurationPeriodDuration.from(TemporalAmount amount) Obtains an instance from a temporal amount.PeriodDuration.minus(TemporalAmount amountToAdd) Returns a copy of this amount with the specified amount subtracted.PeriodDuration.multipliedBy(int scalar) Returns an instance with the amount multiplied by the specified scalar.PeriodDuration.negated()Returns an instance with the amount negated.PeriodDuration.normalizedStandardDays()Returns a copy of this instance with the days and duration normalized using the standard day of 24 hours.PeriodDuration.normalizedYears()Returns a copy of this instance with the years and months exactly normalized.static PeriodDurationObtains an instance based on a duration.static PeriodDurationObtains an instance based on a period.static PeriodDurationObtains an instance based on a period and duration.static PeriodDurationPeriodDuration.parse(CharSequence text) Obtains an instance from a text string such asPnYnMnDTnHnMnS.PeriodDuration.plus(TemporalAmount amountToAdd) Returns a copy of this amount with the specified amount added.PeriodDuration.truncatedTo(TemporalUnit unit) Returns a copy of this period-duration truncated to the specified unit.PeriodDuration.withDuration(Duration duration) Returns a copy of this period-duration with a different duration.PeriodDuration.withPeriod(Period period) Returns a copy of this period-duration with a different period.Methods in org.threeten.extra with parameters of type PeriodDurationModifier and TypeMethodDescriptionstatic StringAmountFormats.wordBased(PeriodDuration periodDuration, Locale locale) Formats a period-duration to a string in a localized word-based format.