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