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