| 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 |
ZonedDateTime
A date-time with a time-zone in the ISO-8601 calendar system,
such as
2007-12-03T10:15:30+01:00 Europe/Paris. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultInterfaceChronoZonedDateTime<C extends Chrono<C>>
A temporary class providing implementations that will become default interface
methods once integrated into JDK 8.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoZonedDateTime<C> |
DefaultInterfaceChronoZonedDateTime.minus(long amountToSubtract,
TemporalUnit unit) |
ChronoZonedDateTime<C> |
DefaultInterfaceChronoZonedDateTime.minus(TemporalSubtractor adjuster) |
ChronoZonedDateTime<C> |
DefaultInterfaceChronoZonedDateTime.plus(TemporalAdder adjuster) |
ChronoZonedDateTime<C> |
DefaultInterfaceChronoZonedDateTime.with(TemporalAdjuster adjuster) |
| Modifier and Type | Method and Description |
|---|---|
int |
DefaultInterfaceChronoZonedDateTime.compareTo(ChronoZonedDateTime<?> other) |
boolean |
DefaultInterfaceChronoZonedDateTime.isAfter(ChronoZonedDateTime<?> other) |
boolean |
DefaultInterfaceChronoZonedDateTime.isBefore(ChronoZonedDateTime<?> other) |
boolean |
DefaultInterfaceChronoZonedDateTime.isEqual(ChronoZonedDateTime<?> other) |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<ChronoZonedDateTime<?>> |
ChronoZonedDateTime.INSTANT_COMPARATOR
Comparator for two
ChronoZonedDateTime instances ignoring the chronology. |
| Modifier and Type | Method and Description |
|---|---|
ChronoZonedDateTime<C> |
ChronoLocalDateTime.atZone(ZoneId zone)
Returns a zoned date-time formed from this date-time and the specified time-zone.
|
ChronoZonedDateTime<C> |
ChronoZonedDateTime.minus(long amountToSubtract,
TemporalUnit unit) |
ChronoZonedDateTime<C> |
ChronoZonedDateTime.minus(TemporalSubtractor adjuster) |
ChronoZonedDateTime<C> |
ChronoZonedDateTime.plus(long amountToAdd,
TemporalUnit unit) |
ChronoZonedDateTime<C> |
ChronoZonedDateTime.plus(TemporalAdder adjuster) |
ChronoZonedDateTime<C> |
ChronoZonedDateTime.with(TemporalAdjuster adjuster) |
ChronoZonedDateTime<C> |
ChronoZonedDateTime.with(TemporalField field,
long newValue) |
ChronoZonedDateTime<C> |
ChronoZonedDateTime.withEarlierOffsetAtOverlap()
Returns a copy of this date-time changing the zone offset to the
earlier of the two valid offsets at a local time-line overlap.
|
ChronoZonedDateTime<C> |
ChronoZonedDateTime.withLaterOffsetAtOverlap()
Returns a copy of this date-time changing the zone offset to the
later of the two valid offsets at a local time-line overlap.
|
ChronoZonedDateTime<C> |
ChronoZonedDateTime.withZoneSameInstant(ZoneId zoneId)
Returns a copy of this date-time with a different time-zone,
retaining the instant.
|
ChronoZonedDateTime<C> |
ChronoZonedDateTime.withZoneSameLocal(ZoneId zoneId)
Returns a copy of this ZonedDateTime with a different time-zone,
retaining the local date-time if possible.
|
ChronoZonedDateTime<C> |
Chrono.zonedDateTime(Instant instant,
ZoneId zone)
Obtains a zoned date-time in this chronology from an
Instant. |
ChronoZonedDateTime<C> |
Chrono.zonedDateTime(TemporalAccessor temporal)
Obtains a zoned date-time in this chronology from another temporal object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ChronoZonedDateTime.compareTo(ChronoZonedDateTime<?> other)
Compares this date-time to another date-time, including the chronology.
|
boolean |
ChronoZonedDateTime.isAfter(ChronoZonedDateTime<?> other)
Checks if the instant of this date-time is after that of the specified date-time.
|
boolean |
ChronoZonedDateTime.isBefore(ChronoZonedDateTime<?> other)
Checks if the instant of this date-time is before that of the specified date-time.
|
boolean |
ChronoZonedDateTime.isEqual(ChronoZonedDateTime<?> other)
Checks if the instant of this date-time is equal to that of the specified date-time.
|
Copyright © 2007-2013 ThreeTen.org. All Rights Reserved.