From 7bed9cd38c8830776a2dd63daddbf34550ad15c2 Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 23 Nov 2023 20:24:44 +0100 Subject: [PATCH] Remove TODOs about parsing/printing custom formats It makes likely more sense to implement that entirely in user code. The parsing/printing functions for common formats have also been improved so this is likely not very relevant anymore anyways. --- chrono/datetime.cpp | 2 -- chrono/timespan.cpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/chrono/datetime.cpp b/chrono/datetime.cpp index 979260f..1ab6f5d 100644 --- a/chrono/datetime.cpp +++ b/chrono/datetime.cpp @@ -47,8 +47,6 @@ template constexpr bool inRangeExc * the time zone deltas are "baked into" the DateTime instance. For instance, the expression (DateTime::now() - DateTime::gmtNow()) * returns one hour in Germany during winter time (and *not* zero although both instances represent the current time). * \todo - * - Add method for parsing custom string formats. - * - Add method for printing to custom string formats. * - Allow to determine the date part for each component at once to prevent multiple * invocations of getDatePart(). */ diff --git a/chrono/timespan.cpp b/chrono/timespan.cpp index 86e6b32..7fe23da 100644 --- a/chrono/timespan.cpp +++ b/chrono/timespan.cpp @@ -24,9 +24,6 @@ namespace CppUtilities { * and month. For that use case, use the Period class instead. * * \remarks Time values are measured in 100-nanosecond units called ticks. - * \todo - * - Add method for parsing custom string formats. - * - Add method for printing to custom string formats. */ /*!