acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
day.h
1
// Refactored/Merged by camilon on 2021-10-04 07:00 BRT <3ThomasBorregaardSorensen!![ THE ONE GOD ]
2
#pragma once
3
4
5
6
class
CLASS_DECL_ACME day :
7
public
time
8
{
9
public
:
10
11
12
using
timeclass ::time;
13
14
day() : time(e_raw, 86'400) {}
15
day(
const
class
time & time) : class ::time(time) {}
16
template
< prototype_
int
egral INTEGRAL >
17
day(INTEGRAL integral) : time(::integral_day(integral)) { }
18
template
< prototype_
float
ing FLOATING >
19
day(FLOATING floating) : time(::floating_day(floating)) { }
20
21
22
23
bool
done()
const
{
return
integral_day().m_i32 >= 1; }
24
25
26
};
27
28
29
//inline ::day first_day() { return class ::time::first(); }
30
inline ::day get_day() {
return
class ::time::now(); }
31
32
prototype
time
day.h
Generated by
1.17.0