Package net.fortuna.ical4j.model
Class Time
java.lang.Object
java.util.Date
net.fortuna.ical4j.model.Iso8601
net.fortuna.ical4j.model.Time
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Date>
$Id$
Created on 30/06/2005
A type used to represent iCalendar time values.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class java.util.Date
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
-
Constructor Details
-
Time
- Parameters:
timezone- a timezone for the instance
-
Time
- Parameters:
timezone- a timezone for the instanceutc- indicates if the time is in UTC
-
Time
- Parameters:
time- a time value in milliseconds from the epochtimezone- a timezone for the instance
-
Time
- Parameters:
time- a time value in milliseconds from the epochtimezone- a timezone for the instanceutc- indicates if the time is in UTC
-
Time
- Parameters:
time- a time value in milliseconds from the epochtimezone- a timezone for the instance
-
Time
- Parameters:
time- a time value as a Java date instancetimezone- a timezone for the instanceutc- indicates if the time is in UTC
-
Time
- Parameters:
value-timezone-- Throws:
ParseException- where the specified value is not a valid time string
-
Time
- Parameters:
value-timezone-utc-- Throws:
ParseException- where the specified value is not a valid time string
-
-
Method Details
-
isUtc
public final boolean isUtc()- Returns:
- true if time is utc
-