PofHelperFormatTime Method (Int32, Int32, Int32, Int32, Int32, Int32) |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Format a time.
Namespace:
Tangosol.IO.Pof
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic static string FormatTime(
int hour,
int minute,
int second,
int nano,
int hourOffset,
int minuteOffset
)
Parameters
- hour
- Type: SystemInt32
The hour number.
- minute
- Type: SystemInt32
The minute number.
- second
- Type: SystemInt32
The second number.
- nano
- Type: SystemInt32
The nanosecond number.
- hourOffset
- Type: SystemInt32
The timezone offset in hours.
- minuteOffset
- Type: SystemInt32
The timezone offset in minutes.
Return Value
Type:
String
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
See Also