Interface OracleJsonIntervalDS

All Superinterfaces:
OracleJsonValue

public interface OracleJsonIntervalDS extends OracleJsonValue
A SQL/JSON time interval in days, hours, minutes, and seconds.
  • Method Details

    • getDuration

      Duration getDuration()
      Returns this interval as a Duration.
      Returns:
      the interval
    • getINTERVALDS

      INTERVALDS getINTERVALDS()
      Returns this value as a oracle.sql.INTERVALDS
      Returns:
      the interval value
    • getString

      String getString()
      Returns this interval as an ISO 8601 String.
      Returns:
      the string value
    • hashCode

      int hashCode()
      Returns a hash code equal to Arrays.hashCode(getINTERVALDS().getBytes()) .
      Overrides:
      hashCode in class Object
      Returns:
      the hash code
    • equals

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