Class LocalTimeOffset.Transition

java.lang.Object
org.elasticsearch.common.LocalTimeOffset
org.elasticsearch.common.LocalTimeOffset.Transition
Direct Known Subclasses:
LocalTimeOffset.Gap, LocalTimeOffset.Overlap
Enclosing class:
LocalTimeOffset

public abstract static class LocalTimeOffset.Transition extends LocalTimeOffset
  • Method Details

    • previous

      public LocalTimeOffset previous()
      The offset before the this one.
    • containsUtcMillis

      protected final boolean containsUtcMillis(long utcMillis)
      Description copied from class: LocalTimeOffset
      Does this offset contain the provided time?
      Specified by:
      containsUtcMillis in class LocalTimeOffset
    • offsetContaining

      protected final LocalTimeOffset offsetContaining(long utcMillis)
      Description copied from class: LocalTimeOffset
      Find the offset containing the provided time, first checking this offset, then its previous offset, the than one's previous offset, etc.
      Specified by:
      offsetContaining in class LocalTimeOffset
    • startUtcMillis

      public long startUtcMillis()
      The time that this offset started in milliseconds since epoch.