Package | Description |
---|---|
java.time.zone |
Support for time-zones and their rules.
|
Modifier and Type | Method and 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 and Description |
---|---|
List<ZoneOffsetTransition> |
ZoneRules.getTransitions()
Gets the complete list of fully defined transitions.
|
Modifier and Type | Method and Description |
---|---|
int |
ZoneOffsetTransition.compareTo(ZoneOffsetTransition transition)
Compares this transition to another based on the transition instant.
|
Modifier and Type | Method and Description |
---|---|
static ZoneRules |
ZoneRules.of(ZoneOffset baseStandardOffset,
ZoneOffset baseWallOffset,
List<ZoneOffsetTransition> standardOffsetTransitionList,
List<ZoneOffsetTransition> transitionList,
List<ZoneOffsetTransitionRule> lastRules)
Obtains an instance of a ZoneRules.
|
static ZoneRules |
ZoneRules.of(ZoneOffset baseStandardOffset,
ZoneOffset baseWallOffset,
List<ZoneOffsetTransition> standardOffsetTransitionList,
List<ZoneOffsetTransition> transitionList,
List<ZoneOffsetTransitionRule> lastRules)
Obtains an instance of a ZoneRules.
|
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.