| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public NumberDataValue | Returns: A NumberDataValue containing the day of the month.The result of the previous call to this method, null
if not called yet. result)Get the day of the month. |
| public NumberDataValue | Returns: A NumberDataValue containing the hour of the day.The result of the previous call to this method, null
if not called yet. result)Get the hour of the day out of a time or timestamp. |
| public NumberDataValue | Returns: A NumberDataValue containing the minute of the hour.The result of the previous call to this method, null
if not called yet. result)Get the minute of the hour out of a time or timestamp. |
| public NumberDataValue | Returns: A NumberDataValue containing the month number.The result of the previous call to this method, null
if not called yet. result)Get the month number out of a date. |
| public NumberDataValue | Returns: A NumberDataValue containing the second of the minute.The result of the previous call to this method, null
if not called yet. result)Get the second of the minute out of a time or timestamp. |
| public NumberDataValue | Returns: A NumberDataValue containing the year number.The result of the previous call to this method, null
if not called yet. result)Get the year number out of a date. |
| public DateTimeDataValue | Returns: startTime + intervalCount intervals, as a timestampOne of FRAC_SECOND_INTERVAL, SECOND_INTERVAL, MINUTE_INTERVAL, HOUR_INTERVAL,
DAY_INTERVAL, WEEK_INTERVAL, MONTH_INTERVAL, QUARTER_INTERVAL, or YEAR_INTERVAL intervalType, NumberDataValue The number of intervals to add intervalCount, Date Used to convert time to timestamp currentDate, DateTimeDataValue If non-null a DateTimeDataValue that can be used to hold the result. If null then
generate a new holder resultHolder)Add a number of intervals to a datetime value. |
| public NumberDataValue | Returns: the number of intervals by which this datetime is greater than time1One of FRAC_SECOND_INTERVAL, SECOND_INTERVAL, MINUTE_INTERVAL, HOUR_INTERVAL,
DAY_INTERVAL, WEEK_INTERVAL, MONTH_INTERVAL, QUARTER_INTERVAL, or YEAR_INTERVAL intervalType, DateTimeDataValue time1, Date Used to convert time to timestamp currentDate, NumberDataValue If non-null a DateTimeDataValue that can be used to hold the result. If null then
generate a new holder resultHolder)Finds the difference between two datetime values as a number of intervals. |
| DAY_FIELD | back to summary |
|---|---|
| public static final int DAY_FIELD | |
| DAY_INTERVAL | back to summary |
|---|---|
| public static final int DAY_INTERVAL | |
| FRAC_SECOND_INTERVAL | back to summary |
|---|---|
| public static final int FRAC_SECOND_INTERVAL | |
| HOUR_FIELD | back to summary |
|---|---|
| public static final int HOUR_FIELD | |
| HOUR_INTERVAL | back to summary |
|---|---|
| public static final int HOUR_INTERVAL | |
| MINUTE_FIELD | back to summary |
|---|---|
| public static final int MINUTE_FIELD | |
| MINUTE_INTERVAL | back to summary |
|---|---|
| public static final int MINUTE_INTERVAL | |
| MONTH_FIELD | back to summary |
|---|---|
| public static final int MONTH_FIELD | |
| MONTH_INTERVAL | back to summary |
|---|---|
| public static final int MONTH_INTERVAL | |
| QUARTER_INTERVAL | back to summary |
|---|---|
| public static final int QUARTER_INTERVAL | |
| SECOND_FIELD | back to summary |
|---|---|
| public static final int SECOND_FIELD | |
| SECOND_INTERVAL | back to summary |
|---|---|
| public static final int SECOND_INTERVAL | |
| WEEK_INTERVAL | back to summary |
|---|---|
| public static final int WEEK_INTERVAL | |
| YEAR_FIELD | back to summary |
|---|---|
| public static final int YEAR_FIELD | |
| YEAR_INTERVAL | back to summary |
|---|---|
| public static final int YEAR_INTERVAL | |
| getDate | back to summary |
|---|---|
| public NumberDataValue getDate(NumberDataValue result) throws StandardException Get the day of the month.
| |
| getHours | back to summary |
|---|---|
| public NumberDataValue getHours(NumberDataValue result) throws StandardException Get the hour of the day out of a time or timestamp.
| |
| getMinutes | back to summary |
|---|---|
| public NumberDataValue getMinutes(NumberDataValue result) throws StandardException Get the minute of the hour out of a time or timestamp.
| |
| getMonth | back to summary |
|---|---|
| public NumberDataValue getMonth(NumberDataValue result) throws StandardException Get the month number out of a date.
| |
| getSeconds | back to summary |
|---|---|
| public NumberDataValue getSeconds(NumberDataValue result) throws StandardException Get the second of the minute out of a time or timestamp.
| |
| getYear | back to summary |
|---|---|
| public NumberDataValue getYear(NumberDataValue result) throws StandardException Get the year number out of a date.
| |
| timestampAdd | back to summary |
|---|---|
| public DateTimeDataValue timestampAdd(int intervalType, NumberDataValue intervalCount, Date currentDate, DateTimeDataValue resultHolder) throws StandardException Add a number of intervals to a datetime value. Implements the JDBC escape TIMESTAMPADD function.
| |
| timestampDiff | back to summary |
|---|---|
| public NumberDataValue timestampDiff(int intervalType, DateTimeDataValue time1, Date currentDate, NumberDataValue resultHolder) throws StandardException Finds the difference between two datetime values as a number of intervals. Implements the JDBC TIMESTAMPDIFF escape function.
| |