| Added Methods |
Time fromGMT(Time)
|
Returns the time in the current user Timezone
|
Time getDatePart()
|
Returns a new Time with only the Day,Month,Year parts copied from this instance
|
int getMonths()
|
Return the total number of months Since Epoch |
long getSecondsLong()
|
Time represented in number of the seconds. |
int getYears()
|
Return the number of years since Epoch |
Time roundDownToSeconds()
|
Returns the value of this object rounded to seconds |
Time toGMT(Time)
|
Returns the time ignoring the current user Timezone
|
Time valueOf(Number)
|
|
Time valueOf(Object)
|
|
Time valueOf(Time)
|
Convert from Java's java.sql.Time class. |
| Changed Methods |
int getHours()
|
Change in exceptions thrown from no exceptions to java.lang.ArithmeticException.
|
Time represented in number of hours since Epoch
|
int getMinutes()
|
Change in exceptions thrown from no exceptions to java.lang.ArithmeticException.
|
Time represented in number of minutes since Epoch
|
int getSeconds()
|
Change in exceptions thrown from no exceptions to java.lang.ArithmeticException.
|
Time represented in number of the seconds. |
String format(DateFormat, TimeZone)
|
Change in signature from (DateFormat, TimeZone, Locale) to (DateFormat, TimeZone).
|
Formats this date-time with DateFormat using provided time zone and locale
|
Time valueOf(String)
|
Change in exceptions thrown from TimeFormatException to FormatException.
|
Parses a String for a time object. |