net.fortuna.ical4j.model
public class Time extends Iso8601
Constructor and Description |
---|
Time(Date time,
TimeZone timezone) |
Time(Date time,
TimeZone timezone,
boolean utc) |
Time(long time,
TimeZone timezone) |
Time(long time,
TimeZone timezone,
boolean utc) |
Time(String value,
TimeZone timezone) |
Time(String value,
TimeZone timezone,
boolean utc) |
Time(TimeZone timezone) |
Time(TimeZone timezone,
boolean utc) |
Modifier and Type | Method and Description |
---|---|
boolean |
isUtc() |
after, before, clone, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setYear, toGMTString, 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 stringCopyright © 2004-2013 Micronode. All Rights Reserved.