Click or drag to resize

PofStreamReaderReadTimeInterval Method

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

Namespace:  Tangosol.IO.Pof
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual TimeSpan ReadTimeInterval(
	int index
)

Parameters

index
Type: SystemInt32
The property index to read.

Return Value

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

Implements

IPofReaderReadTimeInterval(Int32)
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 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.
See Also