PofStreamWriterWriteUniversalDateTime Method |
Namespace: Tangosol.IO.Pof
public virtual void WriteUniversalDateTime( int index, DateTime value )
Exception | Condition |
---|---|
ArgumentException | If the property index is invalid, or is less than or equal to the index of the previous property written to the POF stream. |
IOException | If an I/O error occurs. |
This method encodes the year, month, day, hour, minute, second, millisecond and timezone information of the specified DateTime object.
Specified value is converted to UTC time before it is written to the POF stream.