public interface OracleJsonIntervalDS extends OracleJsonValue
OracleJsonValue.OracleJsonTypeFALSE, NULL, TRUE| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this
OracleJsonIntervalDS. |
java.time.Duration |
getDuration()
Returns this interval as a
Duration. |
INTERVALDS |
getINTERVALDS()
Returns this value as a
oracle.sql.INTERVALDS |
java.lang.String |
getString()
Returns this interval as an ISO 8601 String.
|
int |
hashCode()
Returns a hash code equal to
Arrays.hashCode(getINTERVALDS().getBytes()) . |
asJsonArray, asJsonBinary, asJsonDate, asJsonDecimal, asJsonDouble, asJsonFloat, asJsonIntervalDS, asJsonIntervalYM, asJsonNumber, asJsonObject, asJsonString, asJsonTimestamp, asJsonTimestampTZ, asJsonVector, getOracleJsonType, toString, wrapjava.time.Duration getDuration()
Duration.INTERVALDS getINTERVALDS()
oracle.sql.INTERVALDSjava.lang.String getString()
int hashCode()
Arrays.hashCode(getINTERVALDS().getBytes()) .hashCode in class java.lang.Objectboolean equals(java.lang.Object obj)
OracleJsonIntervalDS. Returns
true if and only if the other object is an instance of
OracleJsonIntervalDS and the intervals are equal.equals in class java.lang.Objectobj - the object to be compared for equalityOracleJsonIntervalDS.