Uses of Class
oracle.sql.DATE
-
Packages that use DATE Package Description oracle.jdbc Beginning in Oracle9i, the Oracle extensions to JDBC are captured in the packageoracle.jdbc.oracle.sql A package of classes that represent java SQL types and Oracle specific SQL types.oracle.sql.json The API for JSON type in Oracle Database. -
-
Uses of DATE in oracle.jdbc
Methods in oracle.jdbc that return DATE Modifier and Type Method Description DATEOracleConnection. createDATE(String value)Creates a DATE that has the given value.DATEOracleConnection. createDATE(Date value)Creates a DATE that has the given value.DATEOracleConnection. createDATE(Date value, Calendar cal)Creates a DATE that has the given value.DATEOracleConnection. createDATE(Time value)Creates a DATE that has the given value.DATEOracleConnection. createDATE(Time value, Calendar cal)Creates a DATE that has the given value.DATEOracleConnection. createDATE(Timestamp value)Creates a DATE that has the given value.DATEOracleConnection. createDATE(Timestamp value, Calendar cal)Creates a DATE that has the given value.DATEOracleConnectionWrapper. createDATE(String value)Creates a DATE that has the given value.DATEOracleConnectionWrapper. createDATE(Date value)Creates a DATE that has the given value.DATEOracleConnectionWrapper. createDATE(Date value, Calendar cal)Creates a DATE that has the given value.DATEOracleConnectionWrapper. createDATE(Time value)Creates a DATE that has the given value.DATEOracleConnectionWrapper. createDATE(Time value, Calendar cal)Creates a DATE that has the given value.DATEOracleConnectionWrapper. createDATE(Timestamp value)Creates a DATE that has the given value.DATEOracleConnectionWrapper. createDATE(Timestamp value, Calendar cal)Creates a DATE that has the given value.DATEOracleCallableStatement. getDATE(int parameterIndex)Retrieves data into anoracle.sql.DATEobject.DATEOracleResultSet. getDATE(int columnIndex)Oracle extension.DATEOracleResultSet. getDATE(String columnName)Oracle extension.Methods in oracle.jdbc with parameters of type DATE Modifier and Type Method Description TIMESTAMPOracleConnection. createTIMESTAMP(DATE value)Creates a new TIMESTAMP with the given value.TIMESTAMPOracleConnectionWrapper. createTIMESTAMP(DATE value)Creates a new TIMESTAMP with the given value.TIMESTAMPLTZOracleConnection. createTIMESTAMPLTZ(DATE value, Calendar cal)Creates a new TIMESTAMPLTZ with the given value.TIMESTAMPLTZOracleConnectionWrapper. createTIMESTAMPLTZ(DATE value, Calendar cal)Creates a new TIMESTAMPLTZ with the given value.TIMESTAMPTZOracleConnection. createTIMESTAMPTZ(DATE value)TIMESTAMPTZOracleConnectionWrapper. createTIMESTAMPTZ(DATE value)voidOracleCallableStatement. setDATE(String parameterName, DATE x)Sets the designated parameter to anoracle.sql.DATEvalue.voidOraclePreparedStatement. setDATE(int parameterIndex, DATE date)Binds the designated parameter to aoracle.sql.DATEvalue.voidOraclePreparedStatement. setDATEAtName(String parameterName, DATE value)Sets the designated parameter to an oracle.sql.DATE value.voidOracleResultSet. updateDATE(int columnIndex, DATE value)Oracle extension.voidOracleResultSet. updateDATE(String columnName, DATE value)Oracle extension. -
Uses of DATE in oracle.sql
Methods in oracle.sql that return DATE Modifier and Type Method Description DATEDATE. addJulianDays(int julianDay, int julianSec)Add Julian days to a date.DATEDATE. addMonths(int months)Add months to a date.static DATEDATE. fromJulianDays(int julianDay, int julianSec)Convert given julian days and seconds to an Oracle Date.static DATEDATE. fromText(String datestr, String fmt, String lang)Convert a string to a DATE object.static DATEDATE. getCurrentDate()Gets current date and timeDATEDATE. lastDayOfMonth()returns a DATE object intialized to the last day of the month .static DATEDATE. of(java.time.LocalDate ld)Creates DATE from the LocalDate.static DATEDATE. of(java.time.LocalDateTime ldt)Creates DATE from the LocalDateTime.static DATEDATE. of(java.time.LocalTime lt)Creates DATE from the LocalTime.DATEDATE. round(String prec)returns a DATE object with date rounded to specified precisionDATEDATE. setDayOfWeek(int day)returns a DATE object initialized to date advanced to the week of the day specified.static DATETIMESTAMP. toDATE(byte[] timestamp)Convert a byte array representing a TIMESTAMP object to a Oracle DATE Objectstatic DATETIMESTAMPLTZ. toDATE(Connection conn, byte[] timestampltz)Convert a byte array representing a TIMESTAMPLTZ object to a Oracle DATE Objectstatic DATETIMESTAMPLTZ. toDATE(Connection conn, byte[] timestampltz, Calendar dbtz)Deprecated.static DATETIMESTAMPTZ. toDATE(Connection conn, byte[] timestamptz)Convert a byte array representing a TIMESTAMPTZ object to a Oracle DATE ObjectDATEDATE. truncate(String prec)returns a DATE object with date truncated to specified precisionDATEDATE. zeroTime()Zero out the time from a DATE object.Methods in oracle.sql with parameters of type DATE Modifier and Type Method Description intDATE. compareTo(DATE date)Returns -1 if DATE is less than date, 0 if DATE and date are equal (==), 1 if DATE is greater than date.voidDATE. diffInJulianDays(DATE date, int[] julianDay, int[] julianSec)Calculates the difference between two dates in Julian days.NUMBERDATE. diffInMonths(DATE date)Calculates the difference between two dates in months.static byte[]TIMESTAMP. toBytes(DATE date)Convert Oracle DATE to Oracle TIMESTAMPstatic byte[]TIMESTAMPLTZ. toBytes(Connection conn, Calendar cal, DATE date)Convert Oracle DATE to Oracle TIMESTAMPLTZstatic byte[]TIMESTAMPLTZ. toBytes(Connection conn, DATE date, Calendar dbtz)Deprecated.static byte[]TIMESTAMPTZ. toBytes(Connection conn, DATE date)Convert Oracle DATE to Oracle TIMESTAMPTZConstructors in oracle.sql with parameters of type DATE Constructor Description TIMESTAMP(DATE date)Create an Oracle TIMESTAMP object represented by the Oracle DATETIMESTAMPLTZ(Connection conn, Calendar sess, DATE date)Create an Oracle TIMESTAMPLTZ object represented by the Oracle DATETIMESTAMPLTZ(Connection conn, DATE date)Create an Oracle TIMESTAMPLTZ object represented by the Oracle DATETIMESTAMPLTZ(Connection conn, DATE date, Calendar dbtz)Deprecated.TIMESTAMPTZ(Connection conn, DATE date)Create an Oracle TIMESTAMPTZ object represented by the Oracle DATE -
Uses of DATE in oracle.sql.json
Methods in oracle.sql.json that return DATE Modifier and Type Method Description DATEOracleJsonDate. getDATE()Returns this value as a SQLDATE.
-