|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DATE | |
---|---|
oracle.jdbc | Beginning in Oracle9i, the Oracle extensions to JDBC are captured in the package oracle.jdbc . |
oracle.sql | A package of classes that represent java SQL types and Oracle specific SQL types. |
Uses of DATE in oracle.jdbc |
---|
Methods in oracle.jdbc that return DATE | |
---|---|
DATE |
OracleConnectionWrapper.createDATE(Date value) Creates a DATE that has the given value. |
DATE |
OracleConnection.createDATE(Date value) Creates a DATE that has the given value. |
DATE |
OracleConnectionWrapper.createDATE(Date value, Calendar cal) Creates a DATE that has the given value. |
DATE |
OracleConnection.createDATE(Date value, Calendar cal) Creates a DATE that has the given value. |
DATE |
OracleConnectionWrapper.createDATE(String value) Creates a DATE that has the given value. |
DATE |
OracleConnection.createDATE(String value) Creates a DATE that has the given value. |
DATE |
OracleConnectionWrapper.createDATE(Time value) Creates a DATE that has the given value. |
DATE |
OracleConnection.createDATE(Time value) Creates a DATE that has the given value. |
DATE |
OracleConnectionWrapper.createDATE(Time value, Calendar cal) Creates a DATE that has the given value. |
DATE |
OracleConnection.createDATE(Time value, Calendar cal) Creates a DATE that has the given value. |
DATE |
OracleConnectionWrapper.createDATE(Timestamp value) Creates a DATE that has the given value. |
DATE |
OracleConnection.createDATE(Timestamp value) Creates a DATE that has the given value. |
DATE |
OracleConnectionWrapper.createDATE(Timestamp value, Calendar cal) Creates a DATE that has the given value. |
DATE |
OracleConnection.createDATE(Timestamp value, Calendar cal) Creates a DATE that has the given value. |
DATE |
OracleResultSet.getDATE(int columnIndex) Oracle extension. |
DATE |
OracleCallableStatement.getDATE(int parameterIndex) Retrieves data into an oracle.sql.DATE object. |
DATE |
OracleResultSet.getDATE(String columnName) Oracle extension. |
Methods in oracle.jdbc with parameters of type DATE | |
---|---|
TIMESTAMP |
OracleConnectionWrapper.createTIMESTAMP(DATE value) Creates a new TIMESTAMP with the given value. |
TIMESTAMP |
OracleConnection.createTIMESTAMP(DATE value) Creates a new TIMESTAMP with the given value. |
TIMESTAMPLTZ |
OracleConnectionWrapper.createTIMESTAMPLTZ(DATE value, Calendar cal) Creates a new TIMESTAMPLTZ with the given value. |
TIMESTAMPLTZ |
OracleConnection.createTIMESTAMPLTZ(DATE value, Calendar cal) Creates a new TIMESTAMPLTZ with the given value. |
TIMESTAMPTZ |
OracleConnectionWrapper.createTIMESTAMPTZ(DATE value) |
TIMESTAMPTZ |
OracleConnection.createTIMESTAMPTZ(DATE value) |
void |
OraclePreparedStatement.setDATE(int parameterIndex, DATE date) Binds the designated parameter to a oracle.sql.DATE value. |
void |
OracleCallableStatement.setDATE(String parameterName, DATE x) Sets the designated parameter to an oracle.sql.DATE value. |
void |
OraclePreparedStatement.setDATEAtName(String parameterName, DATE value) Sets the designated parameter to an oracle.sql.DATE value. |
void |
OracleResultSet.updateDATE(int columnIndex, DATE value) Oracle extension. |
void |
OracleResultSet.updateDATE(String columnName, DATE value) Oracle extension. |
Uses of DATE in oracle.sql |
---|
Methods in oracle.sql that return DATE | |
---|---|
DATE |
DATE.addJulianDays(int julianDay, int julianSec) Add Julian days to a date. |
DATE |
DATE.addMonths(int months) Add months to a date. |
static DATE |
DATE.fromJulianDays(int julianDay, int julianSec) Convert given julian days and seconds to an Oracle Date. |
static DATE |
DATE.fromText(String datestr, String fmt, String lang) Convert a string to a DATE object. |
static DATE |
DATE.getCurrentDate() Gets current date and time |
DATE |
DATE.lastDayOfMonth() returns a DATE object intialized to the last day of the month . |
DATE |
DATE.round(String prec) returns a DATE object with date rounded to specified precision |
DATE |
DATE.setDayOfWeek(int day) returns a DATE object initialized to date advanced to the week of the day specified. |
static DATE |
TIMESTAMP.toDATE(byte[] timestamp) Convert a byte array representing a TIMESTAMP object to a Oracle Date Object |
static DATE |
TIMESTAMPTZ.toDATE(Connection conn, byte[] timestamptz) Convert a byte array representing a TIMESTAMPTZ object to a Oracle Date Object |
static DATE |
TIMESTAMPLTZ.toDATE(Connection conn, byte[] timestampltz) Convert a byte array representing a TIMESTAMPLTZ object to a Oracle Date Object |
static DATE |
TIMESTAMPLTZ.toDATE(Connection conn, byte[] timestamp, Calendar dbtz) Deprecated. |
DATE |
DATE.truncate(String prec) returns a DATE object with date truncated to specified precision |
Methods in oracle.sql with parameters of type DATE | |
---|---|
int |
DATE.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. |
void |
DATE.diffInJulianDays(DATE date, int[] julianDay, int[] julianSec) Calculates the difference between two dates in Julian days. |
NUMBER |
DATE.diffInMonths(DATE date) Calculates the difference between two dates in months. |
static byte[] |
TIMESTAMPLTZ.toBytes(Connection conn, Calendar cal, DATE date) Convert Oracle DATE to Oracle TIMESTAMPLTZ |
static byte[] |
TIMESTAMPTZ.toBytes(Connection conn, DATE date) Convert Oracle DATE to Oracle TIMESTAMPTZ |
static byte[] |
TIMESTAMPLTZ.toBytes(Connection conn, DATE date, Calendar dbtz) Deprecated. |
static byte[] |
TIMESTAMP.toBytes(DATE date) Convert Oracle DATE to Oracle Timestamp |
Constructors in oracle.sql with parameters of type DATE | |
---|---|
TIMESTAMP(DATE date) Create an Oracle TIMESTAMP object represented by the Oracle date |
|
TIMESTAMPLTZ(Connection conn, Calendar sess, DATE date) Create an Oracle TIMESTAMPLTZ object represented by the Oracle date |
|
TIMESTAMPLTZ(Connection conn, DATE date) Create an Oracle TIMESTAMPLTZ object represented by the Oracle date |
|
TIMESTAMPLTZ(Connection conn, DATE date, Calendar dbtz) Deprecated. |
|
TIMESTAMPTZ(Connection conn, DATE date) Create an Oracle TIMESTAMPTZ object represented by the Oracle date |
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |