Click or drag to resize

PofStreamWriterWriteUniversalDateTime Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Write a DateTime property to the POF stream in ISO8601 format.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual void WriteUniversalDateTime(
	int index,
	DateTime value
)

Parameters

index
Type: SystemInt32
The property index.
value
Type: SystemDateTime
The DateTime property value to write.

Implements

IPofWriterWriteUniversalDateTime(Int32, DateTime)
Exceptions
ExceptionCondition
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.
Remarks

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.

See Also