diff options
author | ndnuriev <ndnuriev@yandex-team.ru> | 2022-02-10 16:49:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:45 +0300 |
commit | 28045de07753ee182fc8e5ca778469d7a7c5bb20 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/datetime/base.h | |
parent | 3659e5861440ac98d0380de7698601ad14655a7a (diff) | |
download | ydb-28045de07753ee182fc8e5ca778469d7a7c5bb20.tar.gz |
Restoring authorship annotation for <ndnuriev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/datetime/base.h')
-rw-r--r-- | util/datetime/base.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/util/datetime/base.h b/util/datetime/base.h index 7ea581de40..5e902b8f63 100644 --- a/util/datetime/base.h +++ b/util/datetime/base.h @@ -60,15 +60,15 @@ inline void sprint_date8601(char* buf, time_t when) { buf[FormatDate8601(buf, 64, when)] = 0; } -bool ParseISO8601DateTimeDeprecated(const char* date, time_t& utcTime); -bool ParseISO8601DateTimeDeprecated(const char* date, size_t dateLen, time_t& utcTime); -bool ParseRFC822DateTimeDeprecated(const char* date, time_t& utcTime); -bool ParseRFC822DateTimeDeprecated(const char* date, size_t dateLen, time_t& utcTime); -bool ParseHTTPDateTimeDeprecated(const char* date, time_t& utcTime); -bool ParseHTTPDateTimeDeprecated(const char* date, size_t dateLen, time_t& utcTime); -bool ParseX509ValidityDateTimeDeprecated(const char* date, time_t& utcTime); -bool ParseX509ValidityDateTimeDeprecated(const char* date, size_t dateLen, time_t& utcTime); - +bool ParseISO8601DateTimeDeprecated(const char* date, time_t& utcTime); +bool ParseISO8601DateTimeDeprecated(const char* date, size_t dateLen, time_t& utcTime); +bool ParseRFC822DateTimeDeprecated(const char* date, time_t& utcTime); +bool ParseRFC822DateTimeDeprecated(const char* date, size_t dateLen, time_t& utcTime); +bool ParseHTTPDateTimeDeprecated(const char* date, time_t& utcTime); +bool ParseHTTPDateTimeDeprecated(const char* date, size_t dateLen, time_t& utcTime); +bool ParseX509ValidityDateTimeDeprecated(const char* date, time_t& utcTime); +bool ParseX509ValidityDateTimeDeprecated(const char* date, size_t dateLen, time_t& utcTime); + bool ParseISO8601DateTime(const char* date, time_t& utcTime); bool ParseISO8601DateTime(const char* date, size_t dateLen, time_t& utcTime); bool ParseRFC822DateTime(const char* date, time_t& utcTime); @@ -525,12 +525,12 @@ public: /// /// @link https://tools.ietf.org/html/rfc822#section-5 Description of format. static bool TryParseRfc822(TStringBuf input, TInstant& instant); - + /// RFC 2616 3.3.1 Full Date /// /// @link https://tools.ietf.org/html/rfc2616#section-3.3.1 Description of format. static bool TryParseHttp(TStringBuf input, TInstant& instant); - + /// X.509 certificate validity time (see rfc5280 4.1.2.5.*) /// /// @link https://tools.ietf.org/html/rfc5280#section-4.1.2.5 Description of format. |