public class Time extends Iso8601
| Constructor and Description |
|---|
Time(java.util.Date time,
java.util.TimeZone timezone) |
Time(java.util.Date time,
java.util.TimeZone timezone,
boolean utc) |
Time(long time,
java.util.TimeZone timezone) |
Time(long time,
java.util.TimeZone timezone,
boolean utc) |
Time(java.lang.String value,
java.util.TimeZone timezone) |
Time(java.lang.String value,
java.util.TimeZone timezone,
boolean utc) |
Time(java.util.TimeZone timezone) |
Time(java.util.TimeZone timezone,
boolean utc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUtc() |
after, before, clone, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setYear, toGMTString, toInstant, toLocaleString, UTCpublic Time(java.util.TimeZone timezone)
timezone - a timezone for the instancepublic Time(java.util.TimeZone timezone,
boolean utc)
timezone - a timezone for the instanceutc - indicates if the time is in UTCpublic Time(long time,
java.util.TimeZone timezone)
time - a time value in milliseconds from the epochtimezone - a timezone for the instancepublic Time(long time,
java.util.TimeZone timezone,
boolean utc)
time - a time value in milliseconds from the epochtimezone - a timezone for the instanceutc - indicates if the time is in UTCpublic Time(java.util.Date time,
java.util.TimeZone timezone)
time - a time value in milliseconds from the epochtimezone - a timezone for the instancepublic Time(java.util.Date time,
java.util.TimeZone timezone,
boolean utc)
time - a time value as a Java date instancetimezone - a timezone for the instanceutc - indicates if the time is in UTCpublic Time(java.lang.String value,
java.util.TimeZone timezone)
throws java.text.ParseException
value - timezone - java.text.ParseException - where the specified value is not a valid time stringpublic Time(java.lang.String value,
java.util.TimeZone timezone,
boolean utc)
throws java.text.ParseException
value - timezone - utc - java.text.ParseException - where the specified value is not a valid time string