acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaaa_minute.h
1// Refactored/Merged by camilon on 2021-10-04 06:45 BRT <3ThomasBorregaardSorensen!![ THE ONE GOD ]
2// Created by camilo on 2021-10-04 06:34 BRT <3ThomasBorregaardSorensen!!
3#pragma once
4
5
6
7class CLASS_DECL_ACME minute :
8 public time
9{
10public:
11
12
13 using timeclass ::time;
14
15
16 minute() : time(e_raw, 60) {}
17 minute(const class time & time) : class ::time(time) {}
18 template < prototype_integral INTEGRAL >
19 minute(INTEGRAL integral) : time(::integral_minute(integral)) { }
20 template < prototype_floating FLOATING >
21 minute(FLOATING floating) : time(::floating_minute(floating)) { }
22
23 bool done() const { return integral_minute().m_i >= 1; }
24
25};
26
27
28//inline ::minute first_minute() { return class ::time::first(); }
29inline ::minute get_minute() { return class ::time::now(); }
30
31
32