net.fortuna.ical4j.util
Class TimeZones
java.lang.Object
net.fortuna.ical4j.util.TimeZones
- public final class TimeZones
- extends Object
Utility methods relevant to Java timezones.
- Author:
- Ben Fortuna
Method Summary |
static boolean |
isUtc(TimeZone timezone)
Indicates whether the specified timezone is equivalent to
UTC time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTC_ID
public static final String UTC_ID
- See Also:
- Constant Field Values
GMT_ID
public static final String GMT_ID
- See Also:
- Constant Field Values
isUtc
public static boolean isUtc(TimeZone timezone)
- Indicates whether the specified timezone is equivalent to
UTC time.
- Parameters:
timezone
-
- Returns:
- true if the timezone is UTC time, otherwise false