PofHelperFormatTime Method (Int32, Int32, Int32, Int32, Boolean) |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Format a time.
Namespace:
Tangosol.IO.Pof
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic static string FormatTime(
int hour,
int minute,
int second,
int nano,
bool isUTC
)
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.
- isUTC
- Type: SystemBoolean
true for UTC, false for no time zone.
Return Value
Type:
String
A time string.
Remarks
Time format is the simplest applicable of the following formats:
- HH:MM
- HH:MM:SS
- HH:MM:SS.MMM
- HH:MM:SS.NNNNNNNNN
See Also