Interface OracleJsonTimestampTZ

All Superinterfaces:
OracleJsonValue

public interface OracleJsonTimestampTZ extends OracleJsonValue
A SQL/JSON timestamp (with a timezone).
  • Method Details

    • getOffsetDateTime

      OffsetDateTime getOffsetDateTime()
      Returns this value as a OffsetDateTime.
      Returns:
      the OffsetDateTime
    • getTIMESTAMPTZ

      TIMESTAMPTZ getTIMESTAMPTZ()
      Returns this value as a SQL TIMESTAMPTZ.
      Returns:
      the date
    • getString

      String getString()
      Returns this date as a String in ISO 8601 format.
      Returns:
      the string value
    • hashCode

      int hashCode()
      Returns a hash code that is equal to java.util.Arrays.hashCode(getTIMESTAMPTZ().getBytes())
      Overrides:
      hashCode in class Object
      Returns:
      the hash code
    • equals

      boolean equals(Object other)
      Compares the specified object with this OracleJsonTimestampTZ. Returns true if and only if the other object is an instance of OracleJsonTimestampTZ and is equal to this timestamp.
      Overrides:
      equals in class Object
      Parameters:
      obj - the object to be compared for equality
      Returns:
      true if the specified object is equal to this OracleJsonTimestampTZ.