Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Write a time value to a DataWriter object.
Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public static void WriteTime( DataWriter writer, int hour, int minute, int second, int nano, int timeZoneType, TimeSpan zoneOffset ) |
Parameters
- writer
- Type: Tangosol.IO..::..DataWriter
The DataWriter to write to.
- hour
- Type: System..::..Int32
The hour between 0 and 23, inclusive.
- minute
- Type: System..::..Int32
The minute value between 0 and 59, inclusive.
- second
- Type: System..::..Int32
The second value between 0 and 59, inclusive (and theoretically 60 for a leap-second).
- nano
- Type: System..::..Int32
The nanosecond value between 0 and 999999999, inclusive.
- timeZoneType
- Type: System..::..Int32
0 if the time value does not have an explicit time zone, 1 if the time value is UTC and 2 if the time zone has an explicit hour and minute offset.
- zoneOffset
- Type: System..::..TimeSpan
The timezone offset from UTC, for example 0 for BST, -5 for EST and +1 for CET.
Exceptions
Exception | Condition |
---|---|
System.IO..::..IOException | If the passed DataWriter object throws an exception while the value is being written to it. |