| Package | Description |
|---|---|
| net.time4j.format |
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 JDK subtracts
the next defined offset from any local timestamp in order to
calculate the global 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 |
|---|---|
abstract TransitionStrategy |
Timezone.getStrategy()
Gets the strategy for resolving local timestamps.
|
| 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. All rights reserved.