tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
month.hpp File Reference

Go to the source code of this file.

Classes

struct  month
 The class month represents a month in a year. More...
 

Namespaces

namespace  etl
 
namespace  etl::chrono
 

Functions

constexpr auto operator+ (month const &m, months const &ms) noexcept -> month
 
constexpr auto operator+ (months const &ms, month const &m) noexcept -> month
 
constexpr auto operator- (month const &m, months const &ms) noexcept -> month
 
constexpr auto operator- (month const &m1, month const &m2) noexcept -> months
 
constexpr auto operator< (month lhs, month rhs) noexcept -> bool
 
constexpr auto operator<= (month lhs, month rhs) noexcept -> bool
 
constexpr auto operator== (month lhs, month rhs) noexcept -> bool
 
constexpr auto operator> (month lhs, month rhs) noexcept -> bool
 
constexpr auto operator>= (month lhs, month rhs) noexcept -> bool
 

Variables

constexpr auto April = etl::chrono::month{4}
 
constexpr auto August = etl::chrono::month{8}
 
constexpr auto December = etl::chrono::month{12}
 
constexpr auto February = etl::chrono::month{2}
 
constexpr auto January = etl::chrono::month{1}
 
constexpr auto July = etl::chrono::month{7}
 
constexpr auto June = etl::chrono::month{6}
 
constexpr auto March = etl::chrono::month{3}
 
constexpr auto May = etl::chrono::month{5}
 
constexpr auto November = etl::chrono::month{11}
 
constexpr auto October = etl::chrono::month{10}
 
constexpr auto September = etl::chrono::month{9}