Uses of Interface
net.time4j.tz.TransitionStrategy
Packages that use TransitionStrategy
Package
Description
Defines common interfaces for any format support of Time4J.
General timezone-API.
-
Uses of TransitionStrategy in net.time4j.format
Fields in net.time4j.format with type parameters of type TransitionStrategyModifier and TypeFieldDescriptionstatic AttributeKey<TransitionStrategy>
Attributes.TRANSITION_STRATEGY
Attribute for the conflict strategy to be used in resolving ambivalent or invalid local timestamps. -
Uses of TransitionStrategy in net.time4j.tz
Fields in net.time4j.tz declared as TransitionStrategyModifier and TypeFieldDescriptionstatic TransitionStrategy
Timezone.DEFAULT_CONFLICT_STRATEGY
This standard strategy which is also used by the JDK-classjava.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 thestandard strategy
, this strategy ensures the use of valid local timestamps.Methods in net.time4j.tz that return TransitionStrategyModifier and TypeMethodDescriptionGapResolver.and(OverlapResolver overlapResolver)
Yields a transition strategy as combination of given overlap resolver and this instance.OverlapResolver.and(GapResolver gapResolver)
Yields a transition strategy as combination of given gap 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.Methods in net.time4j.tz with parameters of type TransitionStrategyModifier and TypeMethodDescriptionabstract Timezone
Timezone.with(TransitionStrategy strategy)
Creates a copy of this timezone which uses given strategy for resolving local timestamps.