Class Offset

  • All Implemented Interfaces:
    java.lang.Comparable<Offset>

    public class Offset
    extends java.lang.Object
    implements java.lang.Comparable<Offset>
    • Constructor Summary

      Constructors 
      Constructor Description
      Offset​(java.lang.Long offset, java.time.OffsetDateTime timestamp)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(Offset other)  
      java.lang.Long offset()  
      java.time.OffsetDateTime timestamp()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NULL_OFFSET

        public static final Offset NULL_OFFSET
    • Constructor Detail

      • Offset

        public Offset​(java.lang.Long offset,
                      java.time.OffsetDateTime timestamp)
    • Method Detail

      • offset

        public java.lang.Long offset()
      • timestamp

        public java.time.OffsetDateTime timestamp()
      • compareTo

        public int compareTo​(Offset other)
        Specified by:
        compareTo in interface java.lang.Comparable<Offset>