Package | Description |
---|---|
javax.time.calendar |
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
|
javax.time.calendar.zone |
Provides classes to implement time-zones and their rules.
|
Modifier and Type | Method and Description |
---|---|
protected abstract OffsetDateTime |
ZoneResolver.handleGap(TimeZone zone,
ZoneRules rules,
ZoneOffsetTransition gapInfo,
LocalDateTime newDateTime,
OffsetDateTime oldDateTime)
Defines the strategy for selecting an offset to use for a local date-time
when the local date-time is in a local time-line gap.
|
protected abstract OffsetDateTime |
ZoneResolver.handleOverlap(TimeZone zone,
ZoneRules rules,
ZoneOffsetTransition overlapInfo,
LocalDateTime newDateTime,
OffsetDateTime oldDateTime)
Defines the strategy for selecting an offset to use for a local date-time
when the local date-time is in a local time-line overlap.
|
Modifier and Type | Method and Description |
---|---|
ZoneOffsetTransition |
ZoneOffsetTransitionRule.createTransition(int year)
Creates a transition instance for the specified year.
|
ZoneOffsetTransition |
ZoneOffsetInfo.getTransition()
Gets information about the transition occurring on the local time-line.
|
abstract ZoneOffsetTransition |
ZoneRules.nextTransition(InstantProvider instantProvider)
Gets the next transition after the specified transition.
|
static ZoneOffsetTransition |
ZoneOffsetTransition.of(OffsetDateTime transition,
ZoneOffset offsetAfter)
Obtains an instance defining a transition between two offsets.
|
abstract ZoneOffsetTransition |
ZoneRules.previousTransition(InstantProvider instantProvider)
Gets the previous transition after the specified transition.
|
Modifier and Type | Method and Description |
---|---|
abstract 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.
|
static ZoneOffsetInfo |
ZoneOffsetInfo.of(LocalDateTime dateTime,
ZoneOffset offset,
ZoneOffsetTransition transition)
Creates an instance representing a simple single offset or a transition.
|
Copyright © 2014. All rights reserved.