Interface Timestamp

    • Method Detail

      • hashCode

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

        boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • isNewerThan

        default boolean isNewerThan​(Timestamp other)
        Tests if this timestamp is newer than the specified timestamp.
        Parameters:
        other - timestamp to compare against
        Returns:
        true if this instance is newer
      • isOlderThan

        default boolean isOlderThan​(Timestamp other)
        Tests if this timestamp is older than the specified timestamp.
        Parameters:
        other - timestamp to compare against
        Returns:
        true if this instance is older