aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/datetime.h
diff options
context:
space:
mode:
authorsobols <sobols@yandex-team.ru>2022-02-10 16:47:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:08 +0300
commit09961b69c61f471ddd594e0fd877df62a8021562 (patch)
tree54a7b60a9526a7104557a033eb0a8d70d64b604c /util/draft/datetime.h
parent4ce8835206f981afa4a61915a49a21fb750416ec (diff)
downloadydb-09961b69c61f471ddd594e0fd877df62a8021562.tar.gz
Restoring authorship annotation for <sobols@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/draft/datetime.h')
-rw-r--r--util/draft/datetime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/draft/datetime.h b/util/draft/datetime.h
index 8a387ea6f1..8f84d13132 100644
--- a/util/draft/datetime.h
+++ b/util/draft/datetime.h
@@ -12,7 +12,7 @@
namespace NDatetime {
extern const ui32 MonthDays[2][12]; // !leapYear; !!leapYear
- extern const ui32 MonthDaysNewYear[2][13]; // !leapYear; !!leapYear
+ extern const ui32 MonthDaysNewYear[2][13]; // !leapYear; !!leapYear
inline ui32 YearDaysAD(ui32 year) {
year = Max<ui32>(year, 1) - 1; //1 AD comes straight after 1 BC, no 0 AD
@@ -27,8 +27,8 @@ namespace NDatetime {
return MonthDaysNewYear[isleap][Min(month, (ui32)11u)] + mday - 1;
}
- void YDayToMonthAndDay(ui32 yday /*0 - based*/, bool isleap, ui32* month /*0 - based*/, ui32* mday /*1 - based*/);
-
+ void YDayToMonthAndDay(ui32 yday /*0 - based*/, bool isleap, ui32* month /*0 - based*/, ui32* mday /*1 - based*/);
+
struct TSimpleTM {
enum EField {
F_NONE = 0,