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 | 3659e5861440ac98d0380de7698601ad14655a7a (patch) | |
tree | a8cbee25ef3f89582ff526208677df7d14c75c98 /util/datetime/base.h | |
parent | bfd0aa05cabedcab6f4c4d36948dc7581e476782 (diff) | |
download | ydb-3659e5861440ac98d0380de7698601ad14655a7a.tar.gz |
Restoring authorship annotation for <ndnuriev@yandex-team.ru>. Commit 1 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 5e902b8f63..7ea581de40 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. |