| 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.plus(TemporalAdder adder)
Returns a copy of this date-time with the specified period added.
|
YearMonth |
YearMonth.plus(TemporalAdder adder)
Returns a copy of this year-month with the specified period added.
|
Year |
Year.plus(TemporalAdder adder)
Returns a copy of this year with the specified period added.
|
OffsetTime |
OffsetTime.plus(TemporalAdder adder)
Returns a copy of this date with the specified period added.
|
OffsetDateTime |
OffsetDateTime.plus(TemporalAdder adder)
Returns a copy of this date-time with the specified period added.
|
OffsetDate |
OffsetDate.plus(TemporalAdder adder)
Returns a copy of this date with the specified period added.
|
LocalTime |
LocalTime.plus(TemporalAdder adder)
Returns a copy of this date with the specified period added.
|
LocalDateTime |
LocalDateTime.plus(TemporalAdder adder)
Returns a copy of this date-time with the specified period added.
|
LocalDate |
LocalDate.plus(TemporalAdder adder)
Returns a copy of this date with the specified period added.
|
Instant |
Instant.plus(TemporalAdder adder)
Returns an object of the same type as this object with an amount added.
|
| Modifier and Type | Method and Description |
|---|---|
Temporal |
DefaultInterfaceTemporal.plus(TemporalAdder adjuster) |
ChronoZonedDateTime<C> |
DefaultInterfaceChronoZonedDateTime.plus(TemporalAdder adjuster) |
ChronoLocalDateTime<C> |
DefaultInterfaceChronoLocalDateTime.plus(TemporalAdder adjuster) |
ChronoLocalDate<C> |
DefaultInterfaceChronoLocalDate.plus(TemporalAdder 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.plus(TemporalAdder adder)
Returns an object of the same type as this object with an amount added.
|
ChronoZonedDateTime<C> |
ChronoZonedDateTime.plus(TemporalAdder adjuster) |
ChronoLocalDateTime<C> |
ChronoLocalDateTime.plus(TemporalAdder adjuster) |
ChronoLocalDate<C> |
ChronoLocalDate.plus(TemporalAdder adjuster) |
Copyright © 2007-2013 ThreeTen.org. All Rights Reserved.