IPofReaderReadUniversalDateTime Method |
Namespace: Tangosol.IO.Pof
DateTime ReadUniversalDateTime( int index )
Exception | Condition |
---|---|
InvalidOperationException | If the POF stream has already advanced past the desired property. |
IOException | If an I/O error occurs. |
This method will attempt to read both the date and time components from the POF stream. If the value in the stream does not contain both components, the corresponding values in the returned DateTime instance will be set to default values.
If the encoded value in the POF stream contains time zone information, this method will use it to determine and return a Coordinated Universal Time (UTC) value.