Class JdbcDate

JdbcDate

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

Methods

MethodReturn typeBrief description
after(when)BooleanFor documentation of this method, see java.sql.Date#after(java.util.Date).
before(when)BooleanFor documentation of this method, see java.sql.Date#before(java.util.Date).
getDate()IntegerFor documentation of this method, see java.sql.Date#getDate().
getMonth()IntegerFor documentation of this method, see java.sql.Date#getMonth().
getTime()IntegerFor documentation of this method, see java.sql.Date#getTime().
getYear()IntegerFor documentation of this method, see java.sql.Date#getYear().
setDate(date)voidFor documentation of this method, see java.sql.Date#setDate(int).
setMonth(month)voidFor documentation of this method, see java.sql.Date#setMonth(int).
setTime(milliseconds)voidFor documentation of this method, see java.sql.Date#setTime(long).
setYear(year)voidFor documentation of this method, see java.sql.Date#setYear(int).

Detailed documentation

after(when)

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

Parameters

NameTypeDescription
whenJdbcDate

Return

Boolean


before(when)

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

Parameters

NameTypeDescription
whenJdbcDate

Return

Boolean


getDate()

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

Return

Integer


getMonth()

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

Return

Integer


getTime()

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

Return

Integer


getYear()

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

Return

Integer


setDate(date)

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

Parameters

NameTypeDescription
dateInteger

setMonth(month)

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

Parameters

NameTypeDescription
monthInteger

setTime(milliseconds)

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

Parameters

NameTypeDescription
millisecondsInteger

setYear(year)

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

Parameters

NameTypeDescription
yearInteger

Send feedback about...

Apps Script
Apps Script