PofHelperWriteTime Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Namespace:
Tangosol.IO.Pof
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic static void WriteTime(
DataWriter writer,
int hour,
int minute,
int second,
int nano,
int timeZoneType,
TimeSpan zoneOffset
)
Parameters
- writer
- Type: Tangosol.IODataWriter
The DataWriter to write to.
- hour
- Type: SystemInt32
The hour between 0 and 23, inclusive.
- minute
- Type: SystemInt32
The minute value between 0 and 59, inclusive.
- second
- Type: SystemInt32
The second value between 0 and 59, inclusive (and theoretically
60 for a leap-second).
- nano
- Type: SystemInt32
The nanosecond value between 0 and 999999999, inclusive.
- timeZoneType
- Type: SystemInt32
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: SystemTimeSpan
The timezone offset from UTC, for example 0 for BST, -5 for EST
and +1 for CET.
ExceptionsException | Condition |
---|
IOException |
If the passed DataWriter object throws an exception while
the value is being written to it.
|
See Also