Class AutoValue_Timestamp

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

    @Generated("com.google.auto.value.processor.AutoValueProcessor")
    final class AutoValue_Timestamp
    extends Timestamp
    • Field Detail

      • seconds

        private final long seconds
      • nanos

        private final int nanos
    • Constructor Detail

      • AutoValue_Timestamp

        AutoValue_Timestamp​(long seconds,
                            int nanos)
    • Method Detail

      • getSeconds

        public long getSeconds()
        Description copied from class: Timestamp
        Returns the number of seconds since the Unix Epoch represented by this timestamp.
        Specified by:
        getSeconds in class Timestamp
        Returns:
        the number of seconds since the Unix Epoch.
      • getNanos

        public int getNanos()
        Description copied from class: Timestamp
        Returns the number of nanoseconds after the number of seconds since the Unix Epoch represented by this timestamp.
        Specified by:
        getNanos in class Timestamp
        Returns:
        the number of nanoseconds after the number of seconds since the Unix Epoch.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object