| Package | Description |
|---|---|
| net.time4j.format |
Defines common interfaces for any format support of Time4J.
|
| net.time4j.tz |
General timezone-API.
|
| Modifier and Type | Field and Description |
|---|---|
static AttributeKey<TransitionStrategy> |
Attributes.TRANSITION_STRATEGY
Attribute for the conflict strategy to be used in resolving
ambivalent or invalid local timestamps.
|
| Modifier and Type | Field and Description |
|---|---|
static TransitionStrategy |
Timezone.DEFAULT_CONFLICT_STRATEGY
This standard strategy which is also used by the JDK-class
java.util.GregorianCalendar subtracts the next defined
offset from any local timestamp in order to calculate the global
time while pushing forward an invalid local time. |
static TransitionStrategy |
Timezone.STRICT_MODE
In addition to the
standard strategy, this strategy ensures the use of valid local
timestamps. |
| Modifier and Type | Method and Description |
|---|---|
TransitionStrategy |
OverlapResolver.and(GapResolver gapResolver)
Yields a transition strategy as combination of given gap resolver
and this instance.
|
TransitionStrategy |
GapResolver.and(OverlapResolver overlapResolver)
Yields a transition strategy as combination of given overlap resolver
and this instance.
|
abstract TransitionStrategy |
Timezone.getStrategy()
Gets the strategy for resolving local timestamps.
|
default TransitionStrategy |
TransitionStrategy.using(OverlapResolver resolver)
Tries to change the overlap handling.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Timezone |
Timezone.with(TransitionStrategy strategy)
Creates a copy of this timezone which uses given strategy for
resolving local timestamps.
|
Copyright © 2014–2017. All rights reserved.