mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
███████████-converter: added.
This commit is contained in:
parent
9d4a5cf65f
commit
a11485e186
@ -98,11 +98,16 @@ public:
|
||||
return Yandex::DateLUTSingleton::instance().makeDate(m_year, m_month, m_day);
|
||||
}
|
||||
|
||||
operator Yandex::DayNum_t() const
|
||||
Yandex::DayNum_t getDayNum() const
|
||||
{
|
||||
return Yandex::DateLUTSingleton::instance().makeDayNum(m_year, m_month, m_day);
|
||||
}
|
||||
|
||||
operator Yandex::DayNum_t() const
|
||||
{
|
||||
return getDayNum();
|
||||
}
|
||||
|
||||
unsigned short year() const { return m_year; }
|
||||
unsigned char month() const { return m_month; }
|
||||
unsigned char day() const { return m_day; }
|
||||
|
Loading…
Reference in New Issue
Block a user