diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /util/draft/date.h | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/draft/date.h')
-rw-r--r-- | util/draft/date.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/draft/date.h b/util/draft/date.h index e3eb616fe5..b973a8d197 100644 --- a/util/draft/date.h +++ b/util/draft/date.h @@ -2,7 +2,7 @@ #include <util/stream/output.h> #include <util/stream/input.h> -#include <util/generic/string.h> +#include <util/generic/string.h> #include <util/datetime/constants.h> #include <ctime> @@ -28,9 +28,9 @@ public: } TDate(const char* yyyymmdd); - TDate(const TString& yyyymmdd); + TDate(const TString& yyyymmdd); TDate(unsigned year, unsigned month, unsigned monthDay); // month from 01, monthDay from 01 - TDate(const TString& date, const TString& format); + TDate(const TString& date, const TString& format); explicit TDate(time_t t); @@ -40,7 +40,7 @@ public: time_t GetStartUTC() const; - TString ToStroka(const char* format = "%Y%m%d") const; + TString ToStroka(const char* format = "%Y%m%d") const; TDate& operator++() { Timestamp = GetDateStart(Timestamp + 3 * (SECONDS_IN_DAY / 2)); @@ -117,7 +117,7 @@ inline int operator-(const TDate& left, const TDate& right) { } inline IInputStream& operator>>(IInputStream& left, TDate& right) { - TString stroka; + TString stroka; left >> stroka; TDate date(stroka.c_str()); right = date; |