PofStreamWriterWriteLocalTime Method |
Namespace: Tangosol.IO.Pof
public void WriteLocalTime( 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 hour, minute, second, millisecond and timezone information of the specified DateTime object. No year, month or day information is encoded.
Specified value is converted to the local time before it is written to the POF stream.