LocalTime
for iCalendar TIME representations.@Deprecated public class Time extends Iso8601
Constructor and Description |
---|
Time(Date time,
TimeZone timezone)
Deprecated.
|
Time(Date time,
TimeZone timezone,
boolean utc)
Deprecated.
|
Time(long time,
TimeZone timezone)
Deprecated.
|
Time(long time,
TimeZone timezone,
boolean utc)
Deprecated.
|
Time(String value,
TimeZone timezone)
Deprecated.
|
Time(String value,
TimeZone timezone,
boolean utc)
Deprecated.
|
Time(TimeZone timezone)
Deprecated.
|
Time(TimeZone timezone,
boolean utc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isUtc()
Deprecated.
|
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, UTC
public Time(TimeZone timezone)
timezone
- a timezone for the instancepublic Time(TimeZone timezone, boolean utc)
timezone
- a timezone for the instanceutc
- indicates if the time is in UTCpublic Time(long time, TimeZone timezone)
time
- a time value in milliseconds from the epochtimezone
- a timezone for the instancepublic Time(long time, 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(Date time, TimeZone timezone)
time
- a time value in milliseconds from the epochtimezone
- a timezone for the instancepublic Time(Date time, 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(String value, TimeZone timezone) throws ParseException
value
- timezone
- ParseException
- where the specified value is not a valid time stringpublic Time(String value, TimeZone timezone, boolean utc) throws ParseException
value
- timezone
- utc
- ParseException
- where the specified value is not a valid time string