Interface Timestamp

    • Method Detail

      • 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