Added ███████████-server.

This commit is contained in:
Alexey Milovidov 2011-05-25 18:15:00 +00:00
parent fe6f7e0c6b
commit b219f5fbae

View File

@ -98,6 +98,11 @@ public:
return Yandex::DateLUTSingleton::instance().makeDate(m_year, m_month, m_day);
}
operator Yandex::DayNum_t() const
{
return Yandex::DateLUTSingleton::instance().makeDayNum(m_year, m_month, m_day);
}
unsigned short year() const { return m_year; }
unsigned char month() const { return m_month; }
unsigned char day() const { return m_day; }