net.fortuna.ical4j.util
Class TimeZones
java.lang.Object
net.fortuna.ical4j.util.TimeZones
public final class TimeZones
- extends java.lang.Object
$Id: TimeZones.java,v 1.6 2008/12/16 12:34:53 fortuna Exp $ [5/07/2004]
Utility methods relevant to Java timezones.
- Author:
- Ben Fortuna
Field Summary |
static java.lang.String |
GMT_ID
|
static java.lang.String |
IBM_UTC_ID
|
static java.lang.String |
UTC_ID
|
Method Summary |
static boolean |
isUtc(java.util.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 java.lang.String UTC_ID
- See Also:
- Constant Field Values
IBM_UTC_ID
public static final java.lang.String IBM_UTC_ID
- See Also:
- Constant Field Values
GMT_ID
public static final java.lang.String GMT_ID
- See Also:
- Constant Field Values
isUtc
public static boolean isUtc(java.util.TimeZone timezone)
- Indicates whether the specified timezone is equivalent to
UTC time.
- Parameters:
timezone
-
- Returns:
- true if the timezone is UTC time, otherwise false
Copyright © 2004-2009 Modularity. All Rights Reserved.