|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.cim.CIMDateTime
public abstract class CIMDateTime
This abstract class represents a CIM Datetime data type as defined by the Distributed Management Task Force (DMTF) CIM Infrastructure Specification (DSP004). It is in the format yyyyMMddHHmmss.SSSSSSsutc where:
Constructor Summary | |
---|---|
protected |
CIMDateTime()
|
|
CIMDateTime(String pDateString)
Creates a CIMDateTime object using a string. |
Method Summary | |
---|---|
boolean |
equals(Object pObj)
Determines whether the CIMDateTime that is passed in is
equal to the current CIMDateTime object. |
abstract String |
getDateTimeString()
Gets the internal string representation of this object. |
abstract int |
hashCode()
Returns the hash code for this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public CIMDateTime(String pDateString) throws IllegalArgumentException
CIMDateTime
object using a string.
pDateString
- A string in the format of yyyyMMddHHmmss.SSSSSSsutc.
IllegalArgumentException
- If string is not in the correct format.protected CIMDateTime()
Method Detail |
---|
public boolean equals(Object pObj)
CIMDateTime
that is passed in is
equal to the current CIMDateTime
object.
equals
in class Object
pObj
- The CIMDateTime object to compare to.
true
if this CIMDateTime object is equal to the one
that was passed in, otherwise false
.public abstract String getDateTimeString()
CIMDateTime
object.public abstract int hashCode()
hashCode
in class Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |