diff options
author | yulika <yulika@yandex-team.ru> | 2022-02-10 16:49:32 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:32 +0300 |
commit | 813282c045b159678a92f011f98acb00c3a416c6 (patch) | |
tree | b634da3ebb4fd06892b54d19b2334aab685c3ae4 /library/cpp/timezone_conversion/civil.h | |
parent | 287c6c9d6962bf1bc8eae9a503b4971f31fca365 (diff) | |
download | ydb-813282c045b159678a92f011f98acb00c3a416c6.tar.gz |
Restoring authorship annotation for <yulika@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/timezone_conversion/civil.h')
-rw-r--r-- | library/cpp/timezone_conversion/civil.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/timezone_conversion/civil.h b/library/cpp/timezone_conversion/civil.h index 0e95b807ed..fcb83647f0 100644 --- a/library/cpp/timezone_conversion/civil.h +++ b/library/cpp/timezone_conversion/civil.h @@ -145,7 +145,7 @@ namespace NDatetime { /** Just to simply calculations between dates/times. * NDatetime::Calc<TCivilDay>(TCivilSecond(2001, 1, 1, 10, 10, 10), 5); // returns TCivilDay(2001, 1, 6); - * @param[in] tp is a timepoint with which calc will be + * @param[in] tp is a timepoint with which calc will be * @param[in] diff is quantity of which will be added (of type T) to the tp * @return the calculated T type */ @@ -154,18 +154,18 @@ namespace NDatetime { return T(tp) + diff; } - /** Non-template methods for adding dates/times. - * @param[in] tp is a timepoint with which calc will be - * @param[in] diff is quantity of which will be added to the tp - * @return the calculated TCivilSecond object - */ - TCivilSecond AddYears(const TCivilSecond& tp, TDiff diff); - TCivilSecond AddMonths(const TCivilSecond& tp, TDiff diff); - TCivilSecond AddDays(const TCivilSecond& tp, TDiff diff); - TCivilSecond AddHours(const TCivilSecond& tp, TDiff diff); - TCivilSecond AddMinutes(const TCivilSecond& tp, TDiff diff); - TCivilSecond AddSeconds(const TCivilSecond& tp, TDiff diff); - + /** Non-template methods for adding dates/times. + * @param[in] tp is a timepoint with which calc will be + * @param[in] diff is quantity of which will be added to the tp + * @return the calculated TCivilSecond object + */ + TCivilSecond AddYears(const TCivilSecond& tp, TDiff diff); + TCivilSecond AddMonths(const TCivilSecond& tp, TDiff diff); + TCivilSecond AddDays(const TCivilSecond& tp, TDiff diff); + TCivilSecond AddHours(const TCivilSecond& tp, TDiff diff); + TCivilSecond AddMinutes(const TCivilSecond& tp, TDiff diff); + TCivilSecond AddSeconds(const TCivilSecond& tp, TDiff diff); + /** Method to add TCivilDiff * @param[in] tp is a timepoint with which calc will be * @param[in] diff is quantity of which will be added to the tp |