Class LocalTimeOffset.Lookup

java.lang.Object
org.elasticsearch.common.LocalTimeOffset.Lookup
Enclosing class:
LocalTimeOffset

public abstract static class LocalTimeOffset.Lookup extends Object
How to get instances of LocalTimeOffset.
  • Constructor Details

    • Lookup

      public Lookup()
  • Method Details

    • lookup

      public abstract LocalTimeOffset lookup(long utcMillis)
      Lookup the offset at the provided millis in utc.
    • fixedInRange

      public abstract LocalTimeOffset fixedInRange(long minUtcMillis, long maxUtcMillis)
      If the offset for a range is constant then return it, otherwise return null.
    • 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.