|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.uri.Value
org.sblim.cimclient.internal.uri.DateTimeValue
public class DateTimeValue
Class DateTimeValue is parses and encapsulates a datetime.
Method Summary | |
---|---|
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()
|
Methods inherited from class org.sblim.cimclient.internal.uri.Value |
---|
parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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 false
IllegalArgumentException
- 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 Object
Object.toString()
public String toQuotedString()
QuotedValue
toQuotedString
in interface QuotedValue
QuotedValue.toQuotedString()
public String getTypeInfo()
Value
getTypeInfo
in class Value
Value.getTypeInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |