acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_day.h
1// Recreated by camilo on 2021-10-05 13:17 BRT <3ThomasBorregaardSorensen!![ THE ONE GOD ]
2// Refactored/Merged by camilon on 2021-10-04 07:00 BRT <3ThomasBorregaardSorensen!![ THE ONE GOD ]
3#pragma once
4
5//
6//class CLASS_DECL_ACME integral_day_t :
7// public integral_day
8//{
9//public:
10//
11//
12// using BASE_TYPE = integral_day;
13//
14//
15// constexpr integral_day_t(integral_day day = {}) : integral_day(day) {}
16//
17//
18// integral_second seconds() const { return integral_second(m_i * 86'400); }
19// integral_nanosecond nanoseconds() const { return integral_nanosecond(0); }
20// integral_millisecond total_milliseconds() const { return integral_millisecond(m_i *86'400'000); }
21//
22//
23//};
24//
25//
26//using integral_day = integral_time < integral_day_t >;
27
28
29template < >
30inline integral_day now<integral_day>()
31{
32
33 return get_integral_day();
34
35}
36
37
38
39