Date Members

Date Members

Class Overview | This Package | All Packages

Constructors
Name Description
Date(int, int, int) Construct a Date
Date(long) Construct a Date using a milliseconds time value

Methods
Name Description
getHours() Returns the hour represented by this date.
getMinutes() Returns the number of minutes past the hour represented by this date.
getSeconds() Returns the number of seconds past the minute represented by this date.
setHours(int) Sets the hour of this date to the specified value.
setMinutes(int) Sets the minutes of this date to the specified value.
setSeconds(int) Sets the seconds of this date to the specified value.
setTime(long) Set a Date using a milliseconds time value
toString() Format a date in JDBC date escape format
valueOf(String) Convert a string in JDBC date escape format to a Date value