public final class TimeZones
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GMT_ID
The timezone identifier for GMT time.
|
static java.lang.String |
IBM_UTC_ID
The timezone identifier for UTC time in the IBM JVM.
|
static java.lang.String |
UTC_ID
The timezone identifier for UTC time.
|
Modifier and Type | Method and Description |
---|---|
static java.util.TimeZone |
getDateTimeZone()
Although timezones are not really applicable to DATE instances in iCalendar, the implementation
in iCal4j requires the use of a timezone.
|
static java.util.TimeZone |
getUtcTimeZone()
Get the UTC Timezone.
|
static boolean |
isUtc(java.util.TimeZone timezone)
Indicates whether the specified timezone is equivalent to
UTC time.
|
public static final java.lang.String UTC_ID
public static final java.lang.String IBM_UTC_ID
public static final java.lang.String GMT_ID
public static boolean isUtc(java.util.TimeZone timezone)
timezone
- a timezone instancepublic static java.util.TimeZone getDateTimeZone()
net.fortuna.ical4j.timezone.date.floating=true
public static java.util.TimeZone getUtcTimeZone()