Package org.sblim.cimclient.internal.uri
Class DateTimeValue
java.lang.Object
org.sblim.cimclient.internal.uri.Value
org.sblim.cimclient.internal.uri.DateTimeValue
- All Implemented Interfaces:
QuotedValue
Class DateTimeValue is parses and encapsulates a datetime.
-
Method Details
-
parse
datetimeValue = // quoted datetime string- Parameters:
pStrVal
- - the dateTime string in an unquoted formpThrow
-- Returns:
Value
ornull
if parsing failed andpThrow
isfalse
- Throws:
IllegalArgumentException
- if parsing failed and pThrow is true.
-
parse
- Parameters:
pStrVal
-- Returns:
- a Value or null if parsing failed.
- See Also:
-
getDateTime
getDateTime- Returns:
- CIMDateTime
-
toString
-
toQuotedString
Description copied from interface:QuotedValue
Prints the String representation in a quoted form.- Specified by:
toQuotedString
in interfaceQuotedValue
- Returns:
- String
- See Also:
-
getTypeInfo
Description copied from class:Value
getTypeInfo- Specified by:
getTypeInfo
in classValue
- Returns:
- the type description string of the Value.
- See Also:
-