| Package | Description |
|---|---|
| org.threeten.bp |
The main API for dates, times, instants, and durations.
|
| org.threeten.bp.jdk8 |
Simulates JDK 1.8 features on JDK 1.7.
|
| org.threeten.bp.temporal |
Access to date and time using fields and units, plus additional value type classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Duration
A duration between two instants on the time-line.
|
class |
Period
A period of time, measured using the most common units, such as '3 Months, 4 Days and 7 Hours'.
|
| Modifier and Type | Method and Description |
|---|---|
ZonedDateTime |
ZonedDateTime.minus(TemporalSubtractor subtractor)
Returns a copy of this date-time with the specified period subtracted.
|
YearMonth |
YearMonth.minus(TemporalSubtractor subtractor)
Returns a copy of this year-month with the specified period subtracted.
|
Year |
Year.minus(TemporalSubtractor subtractor)
Returns a copy of this year with the specified period subtracted.
|
OffsetTime |
OffsetTime.minus(TemporalSubtractor subtractor)
Returns a copy of this time with the specified period subtracted.
|
OffsetDateTime |
OffsetDateTime.minus(TemporalSubtractor subtractor)
Returns a copy of this date-time with the specified period subtracted.
|
OffsetDate |
OffsetDate.minus(TemporalSubtractor subtractor)
Returns a copy of this date with the specified period subtracted.
|
LocalTime |
LocalTime.minus(TemporalSubtractor subtractor)
Returns a copy of this time with the specified period subtracted.
|
LocalDateTime |
LocalDateTime.minus(TemporalSubtractor subtractor)
Returns a copy of this date-time with the specified period subtracted.
|
LocalDate |
LocalDate.minus(TemporalSubtractor subtractor)
Returns a copy of this date with the specified period subtracted.
|
Instant |
Instant.minus(TemporalSubtractor subtractor)
Returns an object of the same type as this object with an amount subtracted.
|
| Modifier and Type | Method and Description |
|---|---|
Temporal |
DefaultInterfaceTemporal.minus(TemporalSubtractor adjuster) |
ChronoZonedDateTime<C> |
DefaultInterfaceChronoZonedDateTime.minus(TemporalSubtractor adjuster) |
ChronoLocalDateTime<C> |
DefaultInterfaceChronoLocalDateTime.minus(TemporalSubtractor adjuster) |
ChronoLocalDate<C> |
DefaultInterfaceChronoLocalDate.minus(TemporalSubtractor adjuster) |
| Modifier and Type | Class and Description |
|---|---|
class |
SimplePeriod
A period of time, measured as an amount of a single unit, such as '3 Months'.
|
| Modifier and Type | Method and Description |
|---|---|
Temporal |
Temporal.minus(TemporalSubtractor subtractor)
Returns an object of the same type as this object with an amount subtracted.
|
ChronoZonedDateTime<C> |
ChronoZonedDateTime.minus(TemporalSubtractor adjuster) |
ChronoLocalDateTime<C> |
ChronoLocalDateTime.minus(TemporalSubtractor adjuster) |
ChronoLocalDate<C> |
ChronoLocalDate.minus(TemporalSubtractor adjuster) |
Copyright © 2007-2013 ThreeTen.org. All Rights Reserved.