Uses of Interface
org.threeten.bp.temporal.TemporalAmount
-
Packages that use TemporalAmount Package Description 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.org.threeten.bp.jdk8 Simulates JDK 8 features on JDK 7.org.threeten.bp.temporal Access to date and time using fields and units. -
-
Uses of TemporalAmount in org.threeten.bp
Classes in org.threeten.bp that implement TemporalAmount Modifier and Type Class Description classDurationA time-based amount of time, such as '34.5 seconds'.classPeriodA date-based amount of time, such as '2 years, 3 months and 4 days'.Methods in org.threeten.bp with parameters of type TemporalAmount Modifier and Type Method Description static DurationDuration. from(TemporalAmount amount)Obtains an instance ofDurationfrom an amount.static PeriodPeriod. from(TemporalAmount amount)Obtains an instance ofPeriodfrom a temporal amount.InstantInstant. minus(TemporalAmount amount)Returns an object of the same type as this object with an amount subtracted.LocalDateLocalDate. minus(TemporalAmount amount)Returns a copy of this date with the specified period subtracted.LocalDateTimeLocalDateTime. minus(TemporalAmount amount)Returns a copy of this date-time with the specified period subtracted.LocalTimeLocalTime. minus(TemporalAmount amount)Returns a copy of this time with the specified period subtracted.OffsetDateTimeOffsetDateTime. minus(TemporalAmount amount)Returns a copy of this date-time with the specified period subtracted.OffsetTimeOffsetTime. minus(TemporalAmount amount)Returns a copy of this time with the specified period subtracted.PeriodPeriod. minus(TemporalAmount amountToSubtract)Returns a copy of this period with the specified amount subtracted.YearYear. minus(TemporalAmount amount)Returns a copy of this year with the specified period subtracted.YearMonthYearMonth. minus(TemporalAmount amount)Returns a copy of this year-month with the specified period subtracted.ZonedDateTimeZonedDateTime. minus(TemporalAmount amount)Returns a copy of this date-time with the specified period subtracted.InstantInstant. plus(TemporalAmount amount)Returns an object of the same type as this object with an amount added.LocalDateLocalDate. plus(TemporalAmount amount)Returns a copy of this date with the specified period added.LocalDateTimeLocalDateTime. plus(TemporalAmount amount)Returns a copy of this date-time with the specified period added.LocalTimeLocalTime. plus(TemporalAmount amount)Returns a copy of this date with the specified period added.OffsetDateTimeOffsetDateTime. plus(TemporalAmount amount)Returns a copy of this date-time with the specified period added.OffsetTimeOffsetTime. plus(TemporalAmount amount)Returns a copy of this date with the specified period added.PeriodPeriod. plus(TemporalAmount amountToAdd)Returns a copy of this period with the specified amount added.YearYear. plus(TemporalAmount amount)Returns a copy of this year with the specified period added.YearMonthYearMonth. plus(TemporalAmount amount)Returns a copy of this year-month with the specified period added.ZonedDateTimeZonedDateTime. plus(TemporalAmount amount)Returns a copy of this date-time with the specified period added. -
Uses of TemporalAmount in org.threeten.bp.chrono
Classes in org.threeten.bp.chrono that implement TemporalAmount Modifier and Type Class Description classChronoPeriodA date-based amount of time, such as '3 years, 4 months and 5 days' in an arbitrary chronology, intended for advanced globalization use cases.Methods in org.threeten.bp.chrono with parameters of type TemporalAmount Modifier and Type Method Description ChronoLocalDateChronoLocalDate. minus(TemporalAmount amount)ChronoLocalDateTime<D>ChronoLocalDateTime. minus(TemporalAmount amount)abstract ChronoPeriodChronoPeriod. minus(TemporalAmount amountToSubtract)Returns a copy of this period with the specified period subtracted.ChronoZonedDateTime<D>ChronoZonedDateTime. minus(TemporalAmount amount)HijrahDateHijrahDate. minus(TemporalAmount amount)JapaneseDateJapaneseDate. minus(TemporalAmount amount)MinguoDateMinguoDate. minus(TemporalAmount amount)ThaiBuddhistDateThaiBuddhistDate. minus(TemporalAmount amount)ChronoLocalDateChronoLocalDate. plus(TemporalAmount amount)ChronoLocalDateTime<D>ChronoLocalDateTime. plus(TemporalAmount amount)abstract ChronoPeriodChronoPeriod. plus(TemporalAmount amountToAdd)Returns a copy of this period with the specified period added.ChronoZonedDateTime<D>ChronoZonedDateTime. plus(TemporalAmount amount)HijrahDateHijrahDate. plus(TemporalAmount amount)JapaneseDateJapaneseDate. plus(TemporalAmount amount)MinguoDateMinguoDate. plus(TemporalAmount amount)ThaiBuddhistDateThaiBuddhistDate. plus(TemporalAmount amount) -
Uses of TemporalAmount in org.threeten.bp.jdk8
Methods in org.threeten.bp.jdk8 with parameters of type TemporalAmount Modifier and Type Method Description TemporalDefaultInterfaceTemporal. minus(TemporalAmount amount)TemporalDefaultInterfaceTemporal. plus(TemporalAmount amount) -
Uses of TemporalAmount in org.threeten.bp.temporal
Methods in org.threeten.bp.temporal with parameters of type TemporalAmount Modifier and Type Method Description TemporalTemporal. minus(TemporalAmount amount)Returns an object of the same type as this object with an amount subtracted.TemporalTemporal. plus(TemporalAmount amount)Returns an object of the same type as this object with an amount added.
-