com.caucho.quercus.lib.date
Class DateTimeZone

java.lang.Object
  extended by com.caucho.quercus.lib.date.DateTimeZone

public class DateTimeZone
extends java.lang.Object

Date functions.


Constructor Summary
protected DateTimeZone(Env env)
           
protected DateTimeZone(java.lang.String id)
           
 
Method Summary
static DateTimeZone __construct(java.lang.String id)
           
protected static Value findTimeZone(int offset, boolean isDST)
           
protected static Value findTimeZone(StringValue abbr)
           
protected static Value findTimeZone(StringValue abbr, int offset, boolean isDST)
           
 java.lang.String getName()
           
 long getOffset(DateTime dateTime)
           
protected  java.util.TimeZone getTimeZone()
           
static ArrayValue listAbbreviations()
           
static ArrayValue listIdentifiers()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateTimeZone

protected DateTimeZone(Env env)

DateTimeZone

protected DateTimeZone(java.lang.String id)
Method Detail

__construct

public static DateTimeZone __construct(java.lang.String id)

listAbbreviations

public static ArrayValue listAbbreviations()

listIdentifiers

public static ArrayValue listIdentifiers()

getName

public java.lang.String getName()

getOffset

public long getOffset(DateTime dateTime)

getTimeZone

protected java.util.TimeZone getTimeZone()

findTimeZone

protected static Value findTimeZone(StringValue abbr)

findTimeZone

protected static Value findTimeZone(StringValue abbr,
                                    int offset,
                                    boolean isDST)

findTimeZone

protected static Value findTimeZone(int offset,
                                    boolean isDST)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object