Lines Matching defs:month

27 class month {
32 month() = default;
33 _LIBCPP_HIDE_FROM_ABI explicit inline constexpr month(unsigned __val) noexcept
35 _LIBCPP_HIDE_FROM_ABI inline constexpr month& operator++() noexcept {
39 _LIBCPP_HIDE_FROM_ABI inline constexpr month operator++(int) noexcept {
40 month __tmp = *this;
44 _LIBCPP_HIDE_FROM_ABI inline constexpr month& operator--() noexcept {
48 _LIBCPP_HIDE_FROM_ABI inline constexpr month operator--(int) noexcept {
49 month __tmp = *this;
53 _LIBCPP_HIDE_FROM_ABI constexpr month& operator+=(const months& __m1) noexcept;
54 _LIBCPP_HIDE_FROM_ABI constexpr month& operator-=(const months& __m1) noexcept;
59 _LIBCPP_HIDE_FROM_ABI inline constexpr bool operator==(const month& __lhs, const month& __rhs) noexcept {
63 _LIBCPP_HIDE_FROM_ABI inline constexpr strong_ordering operator<=>(const month& __lhs, const month& __rhs) noexcept {
67 _LIBCPP_HIDE_FROM_ABI inline constexpr month operator+(const month& __lhs, const months& __rhs) noexcept {
70 return month{static_cast<unsigned>(__mu - __yr * 12 + 1)};
73 _LIBCPP_HIDE_FROM_ABI inline constexpr month operator+(const months& __lhs, const month& __rhs) noexcept {
77 _LIBCPP_HIDE_FROM_ABI inline constexpr month operator-(const month& __lhs, const months& __rhs) noexcept {
81 _LIBCPP_HIDE_FROM_ABI inline constexpr months operator-(const month& __lhs, const month& __rhs) noexcept {
86 _LIBCPP_HIDE_FROM_ABI inline constexpr month& month::operator+=(const months& __dm) noexcept {
91 _LIBCPP_HIDE_FROM_ABI inline constexpr month& month::operator-=(const months& __dm) noexcept {
96 inline constexpr month January{1};
97 inline constexpr month February{2};
98 inline constexpr month March{3};
99 inline constexpr month April{4};
100 inline constexpr month May{5};
101 inline constexpr month June{6};
102 inline constexpr month July{7};
103 inline constexpr month August{8};
104 inline constexpr month September{9};
105 inline constexpr month October{10};
106 inline constexpr month November{11};
107 inline constexpr month December{12};