4#include <system/details/enum_meta_info.h>
5#include <system/enum_helpers.h>
27 using underlying_type = std::underlying_type<DayOfWeek>::type;
28 return static_cast<underlying_type
>(a) -
static_cast<underlying_type
>(b);
35DECLARE_USING_GLOBAL_OPERATORS
40DECLARE_USING_ENUM_OPERATORS(
System);
47 static ASPOSECPP_SHARED_API
const std::array<std::pair<System::DayOfWeek, const char16_t*>, 7>& values();
Definition: db_command.h:9
auto operator-(DayOfWeek a, DayOfWeek b)
Calculates the number of days between two days of week.
Definition: day_of_week.h:25
DayOfWeek
Enumeration that represents a day of week.
Definition: day_of_week.h:11