GATE
|
Gregorian Date class (year-month-day) More...
#include <times.hpp>
Public Member Functions | |
Date (uint16_t years=1601, uint8_t months=1, uint8_t days=1) | |
Date (uint16_t years, MonthEnum months, uint8_t days=1) | |
Date (gate_date_t const &date) | |
int | compare (Date const &that) const |
bool_t | operator< (Date const &that) const |
bool_t | operator<= (Date const &that) const |
bool_t | operator> (Date const &that) const |
bool_t | operator>= (Date const &that) const |
bool_t | operator== (Date const &that) const |
bool_t | operator!= (Date const &that) const |
Additional Inherited Members | |
Public Attributes inherited from gate_date_class | |
gate_uint16_t | year |
gate_uint8_t | month |
gate_uint8_t | day |
Gregorian Date class (year-month-day)
gate::Date::Date | ( | uint16_t | years = 1601, |
uint8_t | months = 1, | ||
uint8_t | days = 1 ) |
Initializes date
gate::Date::Date | ( | uint16_t | years, |
MonthEnum | months, | ||
uint8_t | days = 1 ) |
Initializes date