|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.wbem.cim.CIMDateTime
Constructor Summary | |
CIMDateTime()
Create a CIMDateTime object using the current Time/Date of the system |
|
CIMDateTime(java.util.Calendar c)
Creates a CIMDateTime object using a Calendar |
|
CIMDateTime(java.util.Date d)
Creates a CIMDateTime object using a Date |
|
CIMDateTime(java.lang.String dt)
Creates a CIMDateTime object using a String |
Method Summary | |
boolean |
after(CIMDateTime when)
Compares the CIMDateTime with this one |
boolean |
before(CIMDateTime when)
Compares the CIMDateTime with this one |
boolean |
equals(java.lang.Object obj)
Compares the CIMDateTime with this one |
java.util.Calendar |
getCalendar()
Returns the Calendar associated with this CIMDateTime |
boolean |
isInterval()
Tests if this is an interval |
java.lang.String |
toMOF()
Returns a MOF representation of the CIMDateTime |
java.lang.String |
toString()
Returns a String representation of the CIMDateTime. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public CIMDateTime()
public CIMDateTime(java.util.Date d)
d
- The datepublic CIMDateTime(java.util.Calendar c)
c
- The calendarpublic CIMDateTime(java.lang.String dt)
dt
- A string in the format of yyyyMMddHHmmss.SSSSSSsutcMethod Detail |
public boolean isInterval()
public java.lang.String toString()
public java.lang.String toMOF()
public boolean after(CIMDateTime when)
when
- The CIMDateTime to be compared with this onepublic boolean before(CIMDateTime when)
when
- The CIMDateTime to be compared with this onepublic boolean equals(java.lang.Object obj)
obj
- The CIMDateTime to be compared with this onepublic java.util.Calendar getCalendar()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |