Class JdbcTimestamp

JdbcTimestamp

A JDBC Timestamp. For documentation of this class, see java.sql.Timestamp.

Methods

MethodReturn typeBrief description
after(when)BooleanFor documentation of this method, see java.sql.Timestamp#after(java.sql.Timestamp).
before(when)BooleanFor documentation of this method, see java.sql.Timestamp#before(java.sql.Timestamp).
getDate()IntegerFor documentation of this method, see java.sql.Timestamp#getDate().
getHours()IntegerFor documentation of this method, see java.sql.Timestamp#getHours().
getMinutes()IntegerFor documentation of this method, see java.sql.Timestamp#getMinutes().
getMonth()IntegerFor documentation of this method, see java.sql.Timestamp#getMonth().
getNanos()IntegerFor documentation of this method, see java.sql.Timestamp#getNanos().
getSeconds()IntegerFor documentation of this method, see java.sql.Timestamp#getSeconds().
getTime()IntegerFor documentation of this method, see java.sql.Timestamp#getTime().
getYear()IntegerFor documentation of this method, see java.sql.Timestamp#getYear().
setDate(date)voidFor documentation of this method, see java.sql.Timestamp#setDate(int).
setHours(hours)voidFor documentation of this method, see java.sql.Timestamp#setHours(int).
setMinutes(minutes)voidFor documentation of this method, see java.sql.Timestamp#setMinutes(int).
setMonth(month)voidFor documentation of this method, see java.sql.Timestamp#setMonth(int).
setNanos(nanoseconds)voidFor documentation of this method, see java.sql.Timestamp#setNanos(int).
setSeconds(seconds)voidFor documentation of this method, see java.sql.Timestamp#setSeconds(int).
setTime(milliseconds)voidFor documentation of this method, see java.sql.Timestamp#setTime(long).
setYear(year)voidFor documentation of this method, see java.sql.Timestamp#setYear(int).

Detailed documentation

after(when)

For documentation of this method, see java.sql.Timestamp#after(java.sql.Timestamp).

Parameters

NameTypeDescription
whenJdbcTimestamp

Return

Boolean


before(when)

For documentation of this method, see java.sql.Timestamp#before(java.sql.Timestamp).

Parameters

NameTypeDescription
whenJdbcTimestamp

Return

Boolean


getDate()

For documentation of this method, see java.sql.Timestamp#getDate().

Return

Integer


getHours()

For documentation of this method, see java.sql.Timestamp#getHours().

Return

Integer


getMinutes()

For documentation of this method, see java.sql.Timestamp#getMinutes().

Return

Integer


getMonth()

For documentation of this method, see java.sql.Timestamp#getMonth().

Return

Integer


getNanos()

For documentation of this method, see java.sql.Timestamp#getNanos().

Return

Integer


getSeconds()

For documentation of this method, see java.sql.Timestamp#getSeconds().

Return

Integer


getTime()

For documentation of this method, see java.sql.Timestamp#getTime().

Return

Integer


getYear()

For documentation of this method, see java.sql.Timestamp#getYear().

Return

Integer


setDate(date)

For documentation of this method, see java.sql.Timestamp#setDate(int).

Parameters

NameTypeDescription
dateInteger

setHours(hours)

For documentation of this method, see java.sql.Timestamp#setHours(int).

Parameters

NameTypeDescription
hoursInteger

setMinutes(minutes)

For documentation of this method, see java.sql.Timestamp#setMinutes(int).

Parameters

NameTypeDescription
minutesInteger

setMonth(month)

For documentation of this method, see java.sql.Timestamp#setMonth(int).

Parameters

NameTypeDescription
monthInteger

setNanos(nanoseconds)

For documentation of this method, see java.sql.Timestamp#setNanos(int).

Parameters

NameTypeDescription
nanosecondsInteger

setSeconds(seconds)

For documentation of this method, see java.sql.Timestamp#setSeconds(int).

Parameters

NameTypeDescription
secondsInteger

setTime(milliseconds)

For documentation of this method, see java.sql.Timestamp#setTime(long).

Parameters

NameTypeDescription
millisecondsInteger

setYear(year)

For documentation of this method, see java.sql.Timestamp#setYear(int).

Parameters

NameTypeDescription
yearInteger

Send feedback about...

Apps Script
Apps Script