Click or drag to resize

IPofReaderReadLocalDateTime Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Read a DateTime property from the POF stream.

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
DateTime ReadLocalDateTime(
	int index
)

Parameters

index
Type: SystemInt32
The property index to read.

Return Value

Type: DateTime
The DateTime property value.
Exceptions
ExceptionCondition
InvalidOperationException If the POF stream has already advanced past the desired property.
IOException If an I/O error occurs.
Remarks

This method will attempt to read both the date and time component 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 the local time for the reading thread.

See Also