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:
Valueornullif parsing failed andpThrowisfalse- Throws:
IllegalArgumentException- if parsing failed and pThrow is true.
-
parse
-
getDateTime
-
toString
-
toQuotedString
Description copied from interface:QuotedValuePrints the String representation in a quoted form.- Specified by:
toQuotedStringin interfaceQuotedValue- Returns:
- String
- See Also:
-
getTypeInfo
Description copied from class:ValuegetTypeInfo- Specified by:
getTypeInfoin classValue- Returns:
- the type description string of the Value.
- See Also:
-