Date in format YYYY-MM-DD, std::chrono::year_month_day like type.
Convertible to std::sys_days and could be constructed from year, month and day integers.
Definition at line 29 of file date.hpp.
|
|
| Date (const Date &) noexcept=default |
| |
|
Date & | operator= (const Date &) noexcept=default |
| |
|
| Date (int year, int month, int day) |
| | Constructs Date without validation of input arguments.
|
| |
| constexpr | Date (SysDays tp) noexcept |
| | constructor from system clock time point in days.
|
| |
| constexpr SysDays | GetSysDays () const |
| | Returns a time point corresponding to the date.
|
| |
| constexpr | operator SysDays () const |
| | Returns a time point corresponding to the date.
|
| |
|
constexpr auto | operator<=> (const Date &) const =default |
| |