public class IlrTimeZone
extends java.lang.Object
implements java.io.Serializable
!isUTC() ).| Modifier and Type | Field and Description |
|---|---|
protected static int |
EQUAL |
protected static int |
GREATER |
protected static int |
LOWER |
| Constructor and Description |
|---|
IlrTimeZone()
Builds a non UTC time zone.
|
IlrTimeZone(boolean flagUTC)
Builds a time zone.
|
IlrTimeZone(boolean zonePositive,
short zoneHour,
short zoneMinute)
Builds a non UTC time zone given its location from the UTC area.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
protected static void |
formatToString(IlrTimeZone tz,
java.lang.StringBuffer buffer) |
protected static void |
formatToString(short s,
int digitNb,
java.lang.StringBuffer buf) |
protected int |
getTimeZoneInMillis() |
short |
getZoneHour()
Gets the hour of the time zone.
|
short |
getZoneMinute()
Gets the minutes of the time zone.
|
boolean |
isEqual(IlrTimeZone dt) |
boolean |
isUTC()
Determines if the time zone information is activated.
|
boolean |
isZonePositive()
Determines if the area is positive.
|
void |
setTimeZone(boolean zonePositive,
short zoneHour,
short zoneMinute)
Sets the time zone at a different hour/minute from the UTC area.
|
protected void |
setTimeZoneInMillis(int allMillisecond) |
void |
setUTC(boolean flagUTC)
Activates/deactivates the time zone information.
|
java.lang.String |
toString() |
java.util.TimeZone |
toTimeZone()
Converts an
IlrTimeZone instance into a
java.util.TimeZone. |
void |
unsetUTC()
Unsets the time zone information.
|
protected static final int EQUAL
protected static final int LOWER
protected static final int GREATER
public IlrTimeZone()
public IlrTimeZone(boolean flagUTC)
public IlrTimeZone(boolean zonePositive,
short zoneHour,
short zoneMinute)
protected void setTimeZoneInMillis(int allMillisecond)
public void setTimeZone(boolean zonePositive,
short zoneHour,
short zoneMinute)
public void unsetUTC()
protected int getTimeZoneInMillis()
public short getZoneHour()
public short getZoneMinute()
public void setUTC(boolean flagUTC)
public boolean isZonePositive()
public boolean isUTC()
public final java.util.TimeZone toTimeZone()
IlrTimeZone instance into a
java.util.TimeZone.protected static void formatToString(IlrTimeZone tz, java.lang.StringBuffer buffer)
protected static void formatToString(short s,
int digitNb,
java.lang.StringBuffer buf)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isEqual(IlrTimeZone dt)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object© Copyright IBM Corp. 1987, 2017