CIMDataTime format when the value is Date type.
"Yaligar, Veeresh S \(USD SRDL\)" <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <D4B1C6A30F8C3F42B75391923381141101E97B95@G9W0727.americas.hpqcorp.net> |
Hi All As per the documentation of CIMDataTime (http://www.openpegasus.org/manual/CIMDateTime.html) any CIM property of CIMDataTime if not initialized will be of value "00000000000000.000000:000" which is of type interval. Now, if a property of a CIM object is required to hold the Date value instead of interval ( for example Manufacture Date) and if that value is not explicitly set then it should have been implicitly set with some null value in the format of Date instead of interval for example "00000000000000.000000+000" or an empty string "". I guess this would have been the desired behavior. Because one of our client application try to parse the date field and expects it in the Date format. If we are not filling it in the provider then there is no way to get it to the form as "00000000000000.000000+000". Any thoughts how to handle this use case? Thanks in advance. Veeresh