Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.3.0)
E80354-01
Read a DateTime property from the POF stream.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.3000 (12.2.1.3000)

Syntax

C#
public DateTime ReadUniversalDateTime(
	int index
)

Parameters

index
Type: System..::..Int32
The property index to read.

Return Value

The DateTime property value.

Implements

IPofReader..::..ReadUniversalDateTime(Int32)

Remarks

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.

Exceptions

ExceptionCondition
System..::..InvalidOperationException If the POF stream has already advanced past the desired property.
System.IO..::..IOException If an I/O error occurs.

See Also