public abstract class CIMDateTime extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<CIMDateTime>
Modifier | Constructor and Description |
---|---|
protected |
CIMDateTime() |
|
CIMDateTime(java.lang.String pDateString)
Creates a
CIMDateTime object using a string. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObj)
Determines whether the
CIMDateTime that is passed in is
equal to the current CIMDateTime object. |
abstract java.lang.String |
getDateTimeString()
Gets the internal string representation of this object.
|
abstract int |
hashCode()
Returns the hash code for this object.
|
public CIMDateTime(java.lang.String pDateString) throws java.lang.IllegalArgumentException
CIMDateTime
object using a string.pDateString
- A string in the format of yyyyMMddHHmmss.SSSSSSsutc.java.lang.IllegalArgumentException
- If string is not in the correct format.protected CIMDateTime()
public boolean equals(java.lang.Object pObj)
CIMDateTime
that is passed in is
equal to the current CIMDateTime
object.equals
in class java.lang.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 java.lang.String getDateTimeString()
CIMDateTime
object.public abstract int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.