acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_hour.h
1// Recreated by camilo on 2021-10-05 13:15 BRT <3ThomasBorregaardSorensen!![ THE ONE GOD ] Thomas Likes number 5
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_hour_t :
7// public integral_hour
8//{
9//public:
10//
11//
12// using BASE_TYPE = integral_hour;
13//
14//
15// constexpr integral_hour_t(integral_hour hour = {}) : integral_hour(hour) {}
16//
17//
18// integral_second seconds() const { return integral_second(m_i * 3'600); }
19// integral_nanosecond nanoseconds() const { return integral_nanosecond(0); }
20// integral_millisecond total_milliseconds() const { return integral_millisecond(m_i * 3'600'000); }
21//
22//
23//};
24//
25//
26//using integral_hour = integral_time < integral_hour_t >;
27//
28
29template < >
30inline integral_hour now<integral_hour>()
31{
32
33 return get_integral_hour();
34
35}
36
37
38
39
40