Constructors
Name | Description |
---|---|
Time(int, int, int) | Construct a Time Object |
Time(long) | Construct a Time using a milliseconds time value |
Methods
Name | Description |
---|---|
getDate() | Returns the day of the month represented by this date. |
getDay() | Returns the day of the week represented by this date. |
getMonth() | Returns the month represented by this date. |
getYear() | Returns the year represented by this date, minus 1900. |
setDate(int) | Sets the day of the month of this date to the specified value. |
setMonth(int) | Sets the month of this date to the specified value. |
setTime(long) | Set a Time using a milliseconds time value |
setYear(int) | Sets the year of this date to be the specified value plus 1900. |
toString() | Format a time in JDBC date escape format |
valueOf(String) | Convert a string in JDBC time escape format to a Time value |