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