public class DateTimeValue extends Value implements QuotedValue
| Modifier and Type | Method and Description |
|---|---|
CIMDateTime |
getDateTime()
getDateTime
|
String |
getTypeInfo()
getTypeInfo
|
static Value |
parse(String pStrVal) |
static Value |
parse(String pStrVal,
boolean pThrow)
datetimeValue = // quoted datetime string
|
String |
toQuotedString()
Prints the String representation in a quoted form.
|
String |
toString() |
public static Value parse(String pStrVal, boolean pThrow) throws IllegalArgumentException
pStrVal - - the dateTime string in an unquoted formpThrow - Value or null if parsing failed and
pThrow is falseIllegalArgumentException - if parsing failed and pThrow is true.public static Value parse(String pStrVal)
pStrVal - parse(String, boolean)public CIMDateTime getDateTime()
public String toString()
toString in class ObjectObject.toString()public String toQuotedString()
QuotedValuetoQuotedString in interface QuotedValueQuotedValue.toQuotedString()public String getTypeInfo()
ValuegetTypeInfo in class ValueValue.getTypeInfo()Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.