|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.xml.types.IlrTimeZone
public class IlrTimeZone
This class represents time zone information. This representation may be UTC
(Universal Time, Coordinated) or defined by a signed difference in
hour/minute from the UTC zone. It is also possible to omit the time zone
information ( !isUTC()
).
Field Summary | |
---|---|
protected static int |
EQUAL
|
protected static int |
GREATER
|
protected static int |
LOWER
|
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
protected static void |
formatToString(IlrTimeZone tz,
StringBuffer buffer)
|
protected static void |
formatToString(short s,
int digitNb,
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. |
String |
toString()
|
TimeZone |
toTimeZone()
Converts an IlrTimeZone instance into a
java.util.TimeZone . |
void |
unsetUTC()
Unsets the time zone information. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final int EQUAL
protected static final int LOWER
protected static final int GREATER
Constructor Detail |
---|
public IlrTimeZone()
public IlrTimeZone(boolean flagUTC)
public IlrTimeZone(boolean zonePositive, short zoneHour, short zoneMinute)
Method Detail |
---|
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 TimeZone toTimeZone()
IlrTimeZone
instance into a
java.util.TimeZone
.
protected static void formatToString(IlrTimeZone tz, StringBuffer buffer)
protected static void formatToString(short s, int digitNb, StringBuffer buf)
public String toString()
toString
in class Object
public boolean isEqual(IlrTimeZone dt)
public boolean equals(Object obj)
equals
in class Object
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |