Uses of Interface
org.threeten.bp.temporal.Temporal
-
Packages that use Temporal 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 Temporal in org.threeten.bp
Classes in org.threeten.bp that implement Temporal Modifier and Type Class Description classInstantAn instantaneous point on the time-line.classLocalDateA date without a time-zone in the ISO-8601 calendar system, such as2007-12-23.classLocalDateTimeA date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-23T10:15:30.classLocalTimeA time without time-zone in the ISO-8601 calendar system, such as10:15:30.classOffsetDateTimeA date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as2007-12-23T10:15:30+01:00.classOffsetTimeA time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as10:15:30+01:00.classYearA year in the ISO-8601 calendar system, such as2007.classYearMonthA year-month in the ISO-8601 calendar system, such as2007-12.classZonedDateTimeA date-time with a time-zone in the ISO-8601 calendar system, such as2007-12-23T10:15:30+01:00 Europe/Paris.Methods in org.threeten.bp that return Temporal Modifier and Type Method Description TemporalDuration. addTo(Temporal temporal)Adds this duration to the specified temporal object.TemporalPeriod. addTo(Temporal temporal)Adds this period to the specified temporal object.TemporalDayOfWeek. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this day-of-week.TemporalInstant. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this instant.TemporalLocalDate. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same date as this object.TemporalLocalDateTime. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same date and time as this object.TemporalLocalTime. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same time as this object.TemporalMonth. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this month-of-year.TemporalMonthDay. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this month-day.TemporalOffsetDateTime. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same offset, date and time as this object.TemporalOffsetTime. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same offset and time as this object.TemporalYear. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this year.TemporalYearMonth. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this year-month.TemporalZoneOffset. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same offset as this object.TemporalDuration. subtractFrom(Temporal temporal)Subtracts this duration from the specified temporal object.TemporalPeriod. subtractFrom(Temporal temporal)Subtracts this period from the specified temporal object.Methods in org.threeten.bp with parameters of type Temporal Modifier and Type Method Description TemporalDuration. addTo(Temporal temporal)Adds this duration to the specified temporal object.TemporalPeriod. addTo(Temporal temporal)Adds this period to the specified temporal object.TemporalDayOfWeek. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this day-of-week.TemporalInstant. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this instant.TemporalLocalDate. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same date as this object.TemporalLocalDateTime. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same date and time as this object.TemporalLocalTime. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same time as this object.TemporalMonth. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this month-of-year.TemporalMonthDay. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this month-day.TemporalOffsetDateTime. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same offset, date and time as this object.TemporalOffsetTime. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same offset and time as this object.TemporalYear. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this year.TemporalYearMonth. adjustInto(Temporal temporal)Adjusts the specified temporal object to have this year-month.TemporalZoneOffset. adjustInto(Temporal temporal)Adjusts the specified temporal object to have the same offset as this object.static DurationDuration. between(Temporal startInclusive, Temporal endExclusive)Obtains an instance ofDurationrepresenting the duration between two instants.TemporalDuration. subtractFrom(Temporal temporal)Subtracts this duration from the specified temporal object.TemporalPeriod. subtractFrom(Temporal temporal)Subtracts this period from the specified temporal object.longInstant. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this instant and another instant in terms of the specified unit.longLocalDate. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this date and another date in terms of the specified unit.longLocalDateTime. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this date-time and another date-time in terms of the specified unit.longLocalTime. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this time and another time in terms of the specified unit.longOffsetDateTime. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this date-time and another date-time in terms of the specified unit.longOffsetTime. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this time and another time in terms of the specified unit.longYear. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this year and another year in terms of the specified unit.longYearMonth. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this year-month and another year-month in terms of the specified unit.longZonedDateTime. until(Temporal endExclusive, TemporalUnit unit)Calculates the period between this date-time and another date-time in terms of the specified unit. -
Uses of Temporal in org.threeten.bp.chrono
Classes in org.threeten.bp.chrono that implement Temporal Modifier and Type Class Description classChronoLocalDateA date without time-of-day or time-zone in an arbitrary chronology, intended for advanced globalization use cases.classChronoLocalDateTime<D extends ChronoLocalDate>A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases.classChronoZonedDateTime<D extends ChronoLocalDate>A date-time with a time-zone in an arbitrary chronology, intended for advanced globalization use cases.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 org.threeten.bp.chrono that return Temporal Modifier and Type Method Description abstract TemporalChronoPeriod. addTo(Temporal temporal)Adds this period to the specified temporal object.TemporalChronoLocalDate. adjustInto(Temporal temporal)TemporalChronoLocalDateTime. adjustInto(Temporal temporal)TemporalHijrahEra. adjustInto(Temporal temporal)TemporalIsoEra. adjustInto(Temporal temporal)TemporalMinguoEra. adjustInto(Temporal temporal)TemporalThaiBuddhistEra. adjustInto(Temporal temporal)abstract TemporalChronoPeriod. subtractFrom(Temporal temporal)Subtracts this period from the specified temporal object.Methods in org.threeten.bp.chrono with parameters of type Temporal Modifier and Type Method Description abstract TemporalChronoPeriod. addTo(Temporal temporal)Adds this period to the specified temporal object.TemporalChronoLocalDate. adjustInto(Temporal temporal)TemporalChronoLocalDateTime. adjustInto(Temporal temporal)TemporalHijrahEra. adjustInto(Temporal temporal)TemporalIsoEra. adjustInto(Temporal temporal)TemporalMinguoEra. adjustInto(Temporal temporal)TemporalThaiBuddhistEra. adjustInto(Temporal temporal)abstract TemporalChronoPeriod. subtractFrom(Temporal temporal)Subtracts this period from the specified temporal object. -
Uses of Temporal in org.threeten.bp.jdk8
Classes in org.threeten.bp.jdk8 that implement Temporal Modifier and Type Class Description classDefaultInterfaceTemporalA temporary class providing implementations that will become default interface methods once integrated into JDK 8.Methods in org.threeten.bp.jdk8 that return Temporal Modifier and Type Method Description TemporalDefaultInterfaceEra. adjustInto(Temporal temporal)TemporalDefaultInterfaceTemporal. minus(long amountToSubtract, TemporalUnit unit)TemporalDefaultInterfaceTemporal. minus(TemporalAmount amount)TemporalDefaultInterfaceTemporal. plus(TemporalAmount amount)TemporalDefaultInterfaceTemporal. with(TemporalAdjuster adjuster)Methods in org.threeten.bp.jdk8 with parameters of type Temporal Modifier and Type Method Description TemporalDefaultInterfaceEra. adjustInto(Temporal temporal) -
Uses of Temporal in org.threeten.bp.temporal
Methods in org.threeten.bp.temporal with type parameters of type Temporal Modifier and Type Method Description <R extends Temporal>
RChronoUnit. addTo(R dateTime, long periodToAdd)<R extends Temporal>
RTemporalUnit. addTo(R dateTime, long periodToAdd)Returns a copy of the specified temporal object with the specified period added.<R extends Temporal>
RChronoField. adjustInto(R temporal, long newValue)<R extends Temporal>
RTemporalField. adjustInto(R temporal, long newValue)Returns a copy of the specified temporal object with the value of this field set.Methods in org.threeten.bp.temporal that return Temporal Modifier and Type Method Description TemporalTemporalAmount. addTo(Temporal temporal)Adds to the specified temporal object.TemporalTemporalAdjuster. adjustInto(Temporal temporal)Adjusts the specified temporal object.TemporalTemporal. minus(long amountToSubtract, TemporalUnit unit)Returns an object of the same type as this object with the specified period subtracted.TemporalTemporal. minus(TemporalAmount amount)Returns an object of the same type as this object with an amount subtracted.TemporalTemporal. plus(long amountToAdd, TemporalUnit unit)Returns an object of the same type as this object with the specified period added.TemporalTemporal. plus(TemporalAmount amount)Returns an object of the same type as this object with an amount added.TemporalTemporalAmount. subtractFrom(Temporal temporal)Subtracts this object from the specified temporal object.TemporalTemporal. with(TemporalAdjuster adjuster)Returns an adjusted object of the same type as this object with the adjustment made.TemporalTemporal. with(TemporalField field, long newValue)Returns an object of the same type as this object with the specified field altered.Methods in org.threeten.bp.temporal with parameters of type Temporal Modifier and Type Method Description TemporalTemporalAmount. addTo(Temporal temporal)Adds to the specified temporal object.TemporalTemporalAdjuster. adjustInto(Temporal temporal)Adjusts the specified temporal object.longChronoUnit. between(Temporal temporal1, Temporal temporal2)longTemporalUnit. between(Temporal temporal1, Temporal temporal2)Calculates the period in terms of this unit between two temporal objects of the same type.booleanChronoUnit. isSupportedBy(Temporal temporal)booleanTemporalUnit. isSupportedBy(Temporal temporal)Checks if this unit is supported by the specified temporal object.TemporalTemporalAmount. subtractFrom(Temporal temporal)Subtracts this object from the specified temporal object.longTemporal. until(Temporal endTemporal, TemporalUnit unit)Calculates the period between this temporal and another temporal in terms of the specified unit.
-