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_STRATEGYAttribute 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 TransitionStrategyTimezone.DEFAULT_CONFLICT_STRATEGYThis standard strategy which is also used by the JDK-classjava.util.GregorianCalendarsubtracts the next defined offset from any local timestamp in order to calculate the global time while pushing forward an invalid local time.static TransitionStrategyTimezone.STRICT_MODEIn 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 TransitionStrategyTimezone.getStrategy()Gets the strategy for resolving local timestamps.default TransitionStrategyTransitionStrategy.using(OverlapResolver resolver)Tries to change the overlap handling.Methods in net.time4j.tz with parameters of type TransitionStrategyModifier and TypeMethodDescriptionabstract TimezoneTimezone.with(TransitionStrategy strategy)Creates a copy of this timezone which uses given strategy for resolving local timestamps.