net.fortuna.ical4j.util
Class TimeZones

java.lang.Object
  extended by net.fortuna.ical4j.util.TimeZones

public final class TimeZones
extends java.lang.Object

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
 

Field Detail

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
Method Detail

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-2007 Modularity. All Rights Reserved.