javax.cim
public abstract class CIMDateTime extends Object implements Serializable, Comparable<CIMDateTime>
CIMDateTime
class is modeled on the datetime data type as
specified in the CIM specification.Modifier | Constructor and Description |
---|---|
protected |
CIMDateTime() |
|
CIMDateTime(String dateString)
Creates a
CIMDateTime object using a string. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object pObj) |
abstract String |
getDateTimeString()
Gets the internal string representation of this object.
|
abstract int |
hashCode()
Returns the hashcode for this object.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compareTo
public CIMDateTime(String dateString) throws IllegalArgumentException
CIMDateTime
object using a string.dateString
- - A string in the format of yyyyMMddHHmmss.SSSSSSsutcIllegalArgumentException
- - If string is not in the correct format.protected CIMDateTime()
public boolean equals(Object pObj)
equals
in class Object
Object.equals(java.lang.Object)
public abstract String getDateTimeString()
CIMDateTime
object.public abstract int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.