railo.commons.date
Class TimeZoneUtil

java.lang.Object
  extended by railo.commons.date.TimeZoneUtil

public class TimeZoneUtil
extends Object


Constructor Summary
TimeZoneUtil()
           
 
Method Summary
static String toString(TimeZone timezone)
          return the string format of the Timezone
static TimeZone toTimeZone(String strTimezone)
           
static TimeZone toTimeZone(String strTimezone, TimeZone defaultValue)
          translate timezone string format to a timezone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeZoneUtil

public TimeZoneUtil()
Method Detail

toString

public static String toString(TimeZone timezone)
return the string format of the Timezone

Parameters:
timezone -
Returns:

toTimeZone

public static TimeZone toTimeZone(String strTimezone,
                                  TimeZone defaultValue)
translate timezone string format to a timezone

Parameters:
strTimezone -
Returns:

toTimeZone

public static TimeZone toTimeZone(String strTimezone)
                           throws ExpressionException
Throws:
ExpressionException


Copyright © 2012 Railo