Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Reads a TimeSpan from the POF stream.

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

Syntax

C#
TimeSpan ReadTimeInterval(
	int index
)

Parameters

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

Return Value

The TimeSpan property value, or null if no value was available in the POF stream.

Remarks

This method will read only the time component of a day-time-interval value from the POF stream. It will ignore the day component if present and initialize day-related fields of the return value to their default values.

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