Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_DayOfWeek.h File Reference
#include <util/cs_Math.h>
#include <cstdint>
Include dependency graph for cs_DayOfWeek.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef uint8_t DayOfWeekBitMask
 

Enumerations

enum class  DayOfWeek : uint8_t {
  Sunday = 1 << 0 , Monday = 1 << 1 , Tuesday = 1 << 2 , Wednesday = 1 << 3 ,
  Thursday = 1 << 4 , Friday = 1 << 5 , Saturday = 1 << 6
}
 Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Sep 24, 2019 License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) More...
 

Functions

uint8_t dayNumber (DayOfWeek day)
 
DayOfWeek operator+ (DayOfWeek day, int offset)
 
DayOfWeek operator- (DayOfWeek day, int offset)
 

Typedef Documentation

◆ DayOfWeekBitMask

typedef uint8_t DayOfWeekBitMask

Enumeration Type Documentation

◆ DayOfWeek

enum class DayOfWeek : uint8_t
strong

Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Sep 24, 2019 License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)

Enumerator
Sunday 
Monday 
Tuesday 
Wednesday 
Thursday 
Friday 
Saturday 

Function Documentation

◆ dayNumber()

uint8_t dayNumber ( DayOfWeek  day)
inline

◆ operator+()

DayOfWeek operator+ ( DayOfWeek  day,
int  offset 
)
inline

◆ operator-()

DayOfWeek operator- ( DayOfWeek  day,
int  offset 
)
inline