Logo Pico-Framework A web-first embedded framework for C++
Loading...
Searching...
No Matches
DaysOfWeek.h File Reference

Defines a bitmask enum for days of the week. More...

#include <cstdint>
+ Include dependency graph for DaysOfWeek.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using DaysOfWeek = uint8_t
 Type alias for a set of days (bitmask).
 

Enumerations

enum class  Day : uint8_t {
  Sunday = 1 << 0 , Monday = 1 << 1 , Tuesday = 1 << 2 , Wednesday = 1 << 3 ,
  Thursday = 1 << 4 , Friday = 1 << 5 , Saturday = 1 << 6
}
 Enum for days of the week as bitmask flags. More...
 

Detailed Description

Author
Ian Archbell
Version
1.0
Date
2025-05-10
License:\n MIT

Definition in file DaysOfWeek.h.

Typedef Documentation

◆ DaysOfWeek

using DaysOfWeek = uint8_t

Definition at line 31 of file DaysOfWeek.h.

Enumeration Type Documentation

◆ Day

enum class Day : uint8_t
strong
Enumerator
Sunday 
Monday 
Tuesday 
Wednesday 
Thursday 
Friday 
Saturday 

Definition at line 18 of file DaysOfWeek.h.

18 : uint8_t {
19 Sunday = 1 << 0,
20 Monday = 1 << 1,
21 Tuesday = 1 << 2,
22 Wednesday = 1 << 3,
23 Thursday = 1 << 4,
24 Friday = 1 << 5,
25 Saturday = 1 << 6,
26};
@ Tuesday
@ Monday
@ Thursday
@ Wednesday
@ Saturday
@ Sunday
@ Friday