| Package | Description |
|---|---|
| net.time4j.tz |
General timezone-API.
|
| Modifier and Type | Method and Description |
|---|---|
ZonalTransition |
TransitionHistory.getConflictTransition(GregorianDate localDate,
WallTime localTime)
Returns the conflict transition where given local timestamp
falls either in a gap or in an overlap on the local timeline.
|
ZonalTransition |
TransitionHistory.getNextTransition(UnixTime ut)
Deprecated.
Use the equivalent
TransitionHistory.findNextTransition(UnixTime) |
ZonalTransition |
TransitionHistory.getStartTransition(UnixTime ut)
Queries the last transition which defines the offset
for given global timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
default Optional<ZonalTransition> |
TransitionHistory.findConflictTransition(GregorianDate localDate,
WallTime localTime)
Returns the conflict transition where given local timestamp
falls either in a gap or in an overlap on the local timeline.
|
default Optional<ZonalTransition> |
TransitionHistory.findNextTransition(UnixTime ut)
Queries the next transition after given global timestamp.
|
default Optional<ZonalTransition> |
TransitionHistory.findPreviousTransition(UnixTime ut)
Queries the previous transition which defines the offset
for a global timestamp immediately before given reference timestamp.
|
default Optional<ZonalTransition> |
TransitionHistory.findStartTransition(UnixTime ut)
Queries the last transition which defines the offset
for given global timestamp.
|
List<ZonalTransition> |
TransitionHistory.getStdTransitions()
Return the offset transitions from UNIX epoch [1970-01-01T00:00Z]
until about one year after the current timestamp.
|
List<ZonalTransition> |
TransitionHistory.getTransitions(UnixTime startInclusive,
UnixTime endExclusive)
Returns the defined transitions in given POSIX-interval.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ZonalTransition.compareTo(ZonalTransition other)
Compares preferrably the timeline order based on the global
timestamps of transitions, otherwise the total shift and finally
the DST-shift.
|
Copyright © 2014–2017. All rights reserved.