Uses of Class
oracle.sql.DATE
Packages that use DATE
Package
Description
Beginning in Oracle9i, the Oracle extensions to JDBC are captured
in the package
oracle.jdbc.A package of classes that represent java SQL types and Oracle specific
SQL types.
The API for JSON type in Oracle Database.
-
Uses of DATE in oracle.jdbc
Methods in oracle.jdbc that return DATEModifier and TypeMethodDescriptionOracleConnection.createDATE(String value) Creates a DATE that has the given value.OracleConnection.createDATE(Date value) Creates a DATE that has the given value.OracleConnection.createDATE(Date value, Calendar cal) Creates a DATE that has the given value.OracleConnection.createDATE(Time value) Creates a DATE that has the given value.OracleConnection.createDATE(Time value, Calendar cal) Creates a DATE that has the given value.OracleConnection.createDATE(Timestamp value) Creates a DATE that has the given value.OracleConnection.createDATE(Timestamp value, Calendar cal) Creates a DATE that has the given value.OracleConnectionWrapper.createDATE(String value) Creates a DATE that has the given value.OracleConnectionWrapper.createDATE(Date value) Creates a DATE that has the given value.OracleConnectionWrapper.createDATE(Date value, Calendar cal) Creates a DATE that has the given value.OracleConnectionWrapper.createDATE(Time value) Creates a DATE that has the given value.OracleConnectionWrapper.createDATE(Time value, Calendar cal) Creates a DATE that has the given value.OracleConnectionWrapper.createDATE(Timestamp value) Creates a DATE that has the given value.OracleConnectionWrapper.createDATE(Timestamp value, Calendar cal) Creates a DATE that has the given value.OracleCallableStatement.getDATE(int parameterIndex) Retrieves data into anoracle.sql.DATEobject.OracleResultSet.getDATE(int columnIndex) Oracle extension.Oracle extension.Methods in oracle.jdbc with parameters of type DATEModifier and TypeMethodDescriptionOracleConnection.createTIMESTAMP(DATE value) Creates a new TIMESTAMP with the given value.OracleConnectionWrapper.createTIMESTAMP(DATE value) Creates a new TIMESTAMP with the given value.OracleConnection.createTIMESTAMPLTZ(DATE value, Calendar cal) Creates a new TIMESTAMPLTZ with the given value.OracleConnectionWrapper.createTIMESTAMPLTZ(DATE value, Calendar cal) Creates a new TIMESTAMPLTZ with the given value.OracleConnection.createTIMESTAMPTZ(DATE value) OracleConnectionWrapper.createTIMESTAMPTZ(DATE value) voidSets the designated parameter to anoracle.sql.DATEvalue.voidBinds 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 DATEModifier and TypeMethodDescriptionDATE.addJulianDays(int julianDay, int julianSec) Add Julian days to a date.DATE.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 DATEConvert a string to a DATE object.static DATEDATE.getCurrentDate()Gets current date and timeDATE.lastDayOfMonth()returns a DATE object intialized to the last day of the month .static DATECreates DATE from the LocalDate.static DATEDATE.of(LocalDateTime ldt) Creates DATE from the LocalDateTime.static DATECreates DATE from the LocalTime.static DATEDATE.of(OffsetDateTime odt) Creates DATE from the OffsetDateTime.static DATEDATE.of(OffsetTime ot) Creates DATE from the OffsetTime.static DATEDATE.of(ZonedDateTime zdt) Creates DATE from the ZonedDateTime.returns a DATE object with date rounded to specified precisionDATE.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 Objectreturns a DATE object with date truncated to specified precisionDATE.zeroTime()Zero out the time from a DATE object.Methods in oracle.sql with parameters of type DATEModifier and TypeMethodDescriptionintReturns -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.DATE.diffInMonths(DATE date) Calculates the difference between two dates in months.static byte[]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 DATEModifierConstructorDescriptionCreate 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