This commit is contained in:
Alexey Milovidov 2019-08-28 19:15:57 +03:00
parent e2b05f6f9c
commit 6d6c53d42b

View File

@ -28,7 +28,7 @@ enum class WeekModeFlag : UInt8
FIRST_WEEKDAY = 4,
NEWYEAR_DAY = 8
};
typedef std::pair<UInt16, UInt8> YearWeek;
using YearWeek = std::pair<UInt16, UInt8>;
/** Lookup table to conversion of time to date, and to month / year / day of week / day of month and so on.
* First time was implemented for OLAPServer, that needed to do billions of such transformations.