public enum OverlapResolver extends Enum<OverlapResolver>
Represents the component of a transition strategy how to handle overlaps on the local timeline.
GapResolver,
TransitionStrategy| Enum Constant and Description |
|---|
EARLIER_OFFSET
Strategy which selects the earlier offset before a transition
where the local time is ambivalent due to an overlap on the local
timeline.
|
LATER_OFFSET
Default strategy which selects the later offset after a transition
where the local time is ambivalent due to an overlap on the local
timeline.
|
| Modifier and Type | Method and Description |
|---|---|
TransitionStrategy |
and(GapResolver gapResolver)
Yields a transition strategy as combination of given gap resolver
and this instance.
|
static OverlapResolver |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OverlapResolver[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OverlapResolver EARLIER_OFFSET
Strategy which selects the earlier offset before a transition where the local time is ambivalent due to an overlap on the local timeline.
public static final OverlapResolver LATER_OFFSET
Default strategy which selects the later offset after a transition where the local time is ambivalent due to an overlap on the local timeline.
public static OverlapResolver[] values()
for (OverlapResolver c : OverlapResolver.values()) System.out.println(c);
public static OverlapResolver valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic TransitionStrategy and(GapResolver gapResolver)
Yields a transition strategy as combination of given gap resolver and this instance.
gapResolver - strategy how to handle gaps on the local timelineGapResolver.and(OverlapResolver)Copyright © 2014–2017. All rights reserved.