Minor: add define: _ALL_DAYS_WITH_RESTRICTED_HOURS_
This commit is contained in:
parent
d07fdd8540
commit
e17e54b315
@ -22,6 +22,8 @@
|
||||
#define _OFFICIAL_HOLIDAY_ (uint64_t)(1ULL << 15)
|
||||
#define _ONLY_WEEKEND_ ((_SAT_|_SUN_))
|
||||
#define _ONLY_OPEN_FOR_BUSINESS_DAYS_ (uint64_t)(1ULL << 16) /* verkaufsoffen */
|
||||
#define _WITH_RESTRICTED_HOURS_ (uint64_t)(1ULL << 17)
|
||||
#define _ALL_DAYS_WITH_RESTRICTED_HOURS_ ((_WITH_RESTRICTED_HOURS_|_ALL_DAYS_))
|
||||
#define _NOT_DEFINED_ (uint64_t)(~0ULL)
|
||||
|
||||
enum BusinessHours : std::uint64_t
|
||||
@ -54,6 +56,7 @@ enum BusinessHours : std::uint64_t
|
||||
OFFICIAL_HOLIDAY = _OFFICIAL_HOLIDAY_,
|
||||
ONLY_WEEKEND = _ONLY_WEEKEND_,
|
||||
ONLY_OPEN_FOR_BUSINESS_DAYS = _ONLY_OPEN_FOR_BUSINESS_DAYS_,
|
||||
ALL_DAYS_WITH_RESTRICTED_HOURS = _ALL_DAYS_WITH_RESTRICTED_HOURS_,
|
||||
NOT_DEFINED = _NOT_DEFINED_
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user