mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 06:17:15 +01:00
trunk/branch integration: DateTimeFormatter %s
This commit is contained in:
parent
a3b91b8571
commit
b8f2fe9efe
@ -89,16 +89,17 @@ public:
|
||||
/// * %H - hour (00 .. 23)
|
||||
/// * %h - hour (00 .. 12)
|
||||
/// * %a - am/pm
|
||||
/// * %A - AM/PM
|
||||
/// * %M - minute (00 .. 59)
|
||||
/// * %S - second (00 .. 59)
|
||||
/// * %i - millisecond (000 .. 999)
|
||||
/// * %c - centisecond (0 .. 9)
|
||||
/// * %F - fractional seconds/microseconds (000000 - 999999)
|
||||
/// * %z - time zone differential in ISO 8601 format (Z or +NN.NN).
|
||||
/// * %Z - time zone differential in RFC format (GMT or +NNNN)
|
||||
/// * %% - percent sign
|
||||
///
|
||||
/// * %A - AM/PM
|
||||
/// * %M - minute (00 .. 59)
|
||||
/// * %S - second (00 .. 59)
|
||||
/// * %s - seconds and microseconds (equivalent to %S.%F)
|
||||
/// * %i - millisecond (000 .. 999)
|
||||
/// * %c - centisecond (0 .. 9)
|
||||
/// * %F - fractional seconds/microseconds (000000 - 999999)
|
||||
/// * %z - time zone differential in ISO 8601 format (Z or +NN.NN)
|
||||
/// * %Z - time zone differential in RFC format (GMT or +NNNN)
|
||||
/// * %% - percent sign
|
||||
///
|
||||
/// Class DateTimeFormat defines format strings for various standard date/time formats.
|
||||
|
||||
static std::string format(const DateTime& dateTime, const std::string& fmt, int timeZoneDifferential = UTC);
|
||||
|
Loading…
x
Reference in New Issue
Block a user