Package oracle.sql.json
Interface OracleJsonTimestampTZ
-
- All Superinterfaces:
OracleJsonValue
public interface OracleJsonTimestampTZ extends OracleJsonValue
A SQL/JSON timestamp (with a timezone).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface oracle.sql.json.OracleJsonValue
OracleJsonValue.OracleJsonType
-
-
Field Summary
-
Fields inherited from interface oracle.sql.json.OracleJsonValue
FALSE, NULL, TRUE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Object other)Compares the specified object with thisOracleJsonTimestampTZ.java.time.OffsetDateTimegetOffsetDateTime()Returns this value as aOffsetDateTime.StringgetString()Returns this date as a String in ISO 8601 format.TIMESTAMPTZgetTIMESTAMPTZ()Returns this value as a SQLTIMESTAMPTZ.inthashCode()Returns a hash code that is equal tojava.util.Arrays.hashCode(getTIMESTAMPTZ().getBytes())-
Methods inherited from interface oracle.sql.json.OracleJsonValue
asJsonArray, asJsonBinary, asJsonDate, asJsonDecimal, asJsonDouble, asJsonFloat, asJsonIntervalDS, asJsonIntervalYM, asJsonNumber, asJsonObject, asJsonString, asJsonTimestamp, asJsonTimestampTZ, getOracleJsonType, toString, wrap
-
-
-
-
Method Detail
-
getOffsetDateTime
java.time.OffsetDateTime getOffsetDateTime()
Returns this value as aOffsetDateTime.- Returns:
- the
OffsetDateTime
-
getTIMESTAMPTZ
TIMESTAMPTZ getTIMESTAMPTZ()
Returns this value as a SQLTIMESTAMPTZ.- 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 tojava.util.Arrays.hashCode(getTIMESTAMPTZ().getBytes())
-
equals
boolean equals(Object other)
Compares the specified object with thisOracleJsonTimestampTZ. Returns true if and only if the other object is an instance ofOracleJsonTimestampTZand is equal to this timestamp.
-
-