Package | Description |
---|---|
java.time.zone |
Support for time-zones and their rules.
|
Modifier and Type | Method | Description |
---|---|---|
ZoneOffsetTransition |
ZoneOffsetTransitionRule.createTransition(int year) |
Creates a transition instance for the specified year.
|
ZoneOffsetTransition |
ZoneRules.getTransition(LocalDateTime localDateTime) |
Gets the offset transition applicable at the specified local date-time in these rules.
|
ZoneOffsetTransition |
ZoneRules.nextTransition(Instant instant) |
Gets the next transition after the specified instant.
|
static ZoneOffsetTransition |
ZoneOffsetTransition.of(LocalDateTime transition,
ZoneOffset offsetBefore,
ZoneOffset offsetAfter) |
Obtains an instance defining a transition between two offsets.
|
ZoneOffsetTransition |
ZoneRules.previousTransition(Instant instant) |
Gets the previous transition before the specified instant.
|
Modifier and Type | Method | Description |
---|---|---|
List<ZoneOffsetTransition> |
ZoneRules.getTransitions() |
Gets the complete list of fully defined transitions.
|
Modifier and Type | Method | Description |
---|---|---|
int |
ZoneOffsetTransition.compareTo(ZoneOffsetTransition transition) |
Compares this transition to another based on the transition instant.
|
Modifier and Type | Method | Description |
---|---|---|
static ZoneRules |
ZoneRules.of(ZoneOffset baseStandardOffset,
ZoneOffset baseWallOffset,
List<ZoneOffsetTransition> standardOffsetTransitionList,
List<ZoneOffsetTransition> transitionList,
List<ZoneOffsetTransitionRule> lastRules) |
Obtains an instance of a ZoneRules.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b148-1