com.wombat.mama
public class MamaTimeZone extends java.lang.Object
Constructor and Description |
---|
MamaTimeZone()
Constructor.
|
MamaTimeZone(MamaTimeZone copy)
Copy constructor.
|
MamaTimeZone(java.lang.String tz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equals override.
|
java.util.TimeZone |
getJavaTimzone()
Return a java.util.TimeZone object for this MamaTimeZone.
|
int |
hashCode()
Hashcode override.
|
static MamaTimeZone |
local()
Return a reference to a MamaTimeZone corresponding to the local
time zone.
|
int |
offset()
Return the offset from UTC (in seconds).
|
void |
set(java.lang.String tz)
Assign new timezones to this object.
|
java.lang.String |
tz()
Return the time zone string.
|
static MamaTimeZone |
usEastern()
Return a reference to a MamaTimeZone corresponding to the US
Eastern time zone.
|
static MamaTimeZone |
utc()
Return a reference to a MamaTimeZone corresponding to UTC time zone.
|
public MamaTimeZone()
public MamaTimeZone(java.lang.String tz)
public MamaTimeZone(MamaTimeZone copy)
public static MamaTimeZone local()
public static MamaTimeZone utc()
public static MamaTimeZone usEastern()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void set(java.lang.String tz)
public java.lang.String tz()
public int offset()
public java.util.TimeZone getJavaTimzone()
Copyright 2011 NYSE Technologies