|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.dmi.DMI_DateString
This class is used to represent a DMI TimeStamp value.
Constructor Summary | |
---|---|
DMI_DateString()
Create a DMI_DateString value setting the fields to the current date and time. |
|
DMI_DateString(byte[] Data)
Create a DMI_DateString value based on the byte[] passed in. |
Method Summary | |
---|---|
java.util.Calendar |
getCalendar()
Accessor for returning this DateString as a java GregorianCalendar object. |
byte[] |
GetData()
Accessor for retrieving this date object as a byte array. |
java.util.Date |
getDate()
Accessor for returning the date as a java Date object. |
short |
getDay()
Accessor for retrieving the Day from this date object. |
short |
getHour()
Accessor for retrieving the Hour from this date object. |
protected int |
GetLen()
Accessor for retrieving the length in octets of this date object. |
long |
getMicroseconds()
Accessor for retrieving the Microseconds from this date object. |
short |
getMinutes()
Accessor for retrieving the Minutes from this date object. |
short |
getMonth()
Accessor for retrieving the Month from this date object. |
boolean |
getPlusOrMinus()
Accessor for retrieving the Plus/Minus offset indicator from this date object. |
short |
getSeconds()
Accessor for retrieving the Seconds from this date object. |
int |
getUTCOffset()
Accessor for retrieving the UTC Offset from this date object. |
int |
getYear()
Accessor for retrieving the Year from this date object. |
void |
SetData(byte[] Data)
Accessor for setting this date object as a byte array that is formatted correctly as a DMI TimeStamp. |
void |
setDay(short da)
Setter for setting the Day for this date object. |
void |
setMonth(short mo)
Setter for setting the Month for this date object. |
void |
setYear(int yr)
Setter for setting the Year for this date object. |
java.lang.String |
toString()
Accessor for returning a displayable string representation of this date object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DMI_DateString(byte[] Data)
public DMI_DateString()
Method Detail |
public java.util.Calendar getCalendar()
public java.util.Date getDate()
public java.lang.String toString()
public int getYear()
public void setYear(int yr)
yr
- - integer yearpublic short getMonth()
public void setMonth(short mo)
mo
- - short monthpublic short getDay()
public void setDay(short da)
da
- - short daypublic short getHour()
public short getMinutes()
public short getSeconds()
public long getMicroseconds()
public boolean getPlusOrMinus()
public int getUTCOffset()
protected int GetLen()
public byte[] GetData()
public void SetData(byte[] Data)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |