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
Format a time.
Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public static string FormatTime( int hour, int minute, int second, int nano, int hourOffset, int minuteOffset ) |
Parameters
- hour
- Type: System..::..Int32
The hour number.
- minute
- Type: System..::..Int32
The minute number.
- second
- Type: System..::..Int32
The second number.
- nano
- Type: System..::..Int32
The nanosecond number.
- hourOffset
- Type: System..::..Int32
The timezone offset in hours.
- minuteOffset
- Type: System..::..Int32
The timezone offset in minutes.
Return Value
A time string.
Remarks
Time format is the simplest applicable of the following formats:
- HH:MM(+|-)HH:MM
- HH:MM:SS(+|-)HH:MM
- HH:MM:SS.MMM(+|-)HH:MM
- HH:MM:SS.NNNNNNNNN(+|-)HH:MM