Package org.elasticsearch.common
Class LocalTimeOffset.Lookup
java.lang.Object
org.elasticsearch.common.LocalTimeOffset.Lookup
- Enclosing class:
- LocalTimeOffset
How to get instances of
LocalTimeOffset
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
Do any of the transitions move back to the previous day?abstract LocalTimeOffset
fixedInRange(long minUtcMillis, long maxUtcMillis)
If the offset for a range is constant then return it, otherwise returnnull
.abstract LocalTimeOffset
lookup(long utcMillis)
Lookup the offset at the provided millis in utc.
-
Constructor Details
-
Lookup
public Lookup()
-
-
Method Details
-
lookup
Lookup the offset at the provided millis in utc. -
fixedInRange
If the offset for a range is constant then return it, otherwise returnnull
. -
anyMoveBackToPreviousDay
public abstract boolean anyMoveBackToPreviousDay()Do any of the transitions move back to the previous day?Note: If an overlap occurs at, say, 1 am and jumps back to exactly midnight then it doesn't count because midnight is still counted as being in the "next" day.
-