Stay organized with collections Save and categorize content based on your preferences.
JdbcDateA JDBC Date
. For documentation of this class, see java.sql.Date
.
after(when)
Boolean
For documentation of this method, see java.sql.Date#after(date)
. before(when)
Boolean
For documentation of this method, see java.sql.Date#before(date)
. getDate()
Integer
For documentation of this method, see java.sql.Date#getDate()
. getMonth()
Integer
For documentation of this method, see java.sql.Date#getMonth()
. getTime()
Integer
For documentation of this method, see java.sql.Date#getTime()
. getYear()
Integer
For documentation of this method, see java.sql.Date#getYear()
. setDate(date)
void
For documentation of this method, see java.sql.Date#setDate(int)
. setMonth(month)
void
For documentation of this method, see java.sql.Date#setMonth(int)
. setTime(milliseconds)
void
For documentation of this method, see java.sql.Date#setTime(int)
. setYear(year)
void
For documentation of this method, see java.sql.Date#setYear(int)
. Detailed documentation after(when)
For documentation of this method, see java.sql.Date#after(date)
.
when
JdbcDate
A date to compare to. Return
Boolean
— true
if and only if this date is strictly later than the provided date; false
otherwise.
before(when)
For documentation of this method, see java.sql.Date#before(date)
.
when
JdbcDate
A date to compare to. Return
Boolean
— true
if and only if this date is strictly earlier than the provided date; false
otherwise.
getDate()
For documentation of this method, see java.sql.Date#getDate()
.
Integer
— The day of the month represented by this date. The value is between 1 and 31.
getMonth()
For documentation of this method, see java.sql.Date#getMonth()
.
Integer
— The number representing the month that contains or begins with the instant in time represented by this date. The value returned is between 0 and 11, with the value 0 representing January.
getTime()
For documentation of this method, see java.sql.Date#getTime()
.
Integer
— The number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this date.
getYear()
For documentation of this method, see java.sql.Date#getYear()
.
Integer
— The result of subtracting 1900 from the year that contains or begins with the instant in time represented by this date, as interpreted in the local time zone.
setDate(date)
For documentation of this method, see java.sql.Date#setDate(int)
.
date
Integer
The day of the month to set. The value is between 1 and 31, modified as needed. For example, if the date was April 30, for example, and the date is set to 31, then it is treated as if it were on May 1, because April has only 30 days. setMonth(month)
For documentation of this method, see java.sql.Date#setMonth(int)
.
month
Integer
The month value to set. The value returned is between 0 and 11, with the value 0 representing January. setTime(milliseconds)
For documentation of this method, see java.sql.Date#setTime(int)
.
milliseconds
Integer
The number of milliseconds since January 1, 1970, 00:00:00 GMT, not to exceed the milliseconds representation for the year 8099. A negative number indicates the number of milliseconds before January 1, 1970, 00:00:00 GMT. setYear(year)
For documentation of this method, see java.sql.Date#setYear(int)
.
year
Integer
The value to set the year with. This value plus 1900 is the resulting year the date has after this method executes.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["`JdbcDate` is a JDBC representation of a SQL `Date` and provides methods for date manipulation."],["It offers methods to compare dates (`after`, `before`), retrieve date components (`getDate`, `getMonth`, `getYear`), and get the time in milliseconds (`getTime`)."],["You can modify the date using methods like `setDate`, `setMonth`, `setYear`, and `setTime`."],["Detailed documentation and method parameters are provided for comprehensive understanding and usage."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4