acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
time_zone.h
1
// From datetime/department.h by camilo on 2022-10-17 21:31 <3ThomasBorregaardSorensen!!
2
#pragma once
3
4
5
namespace
datetime
6
{
7
8
9
class
time_zone
10
{
11
public
:
12
13
string
m_strZone;
14
::f64 m_dZone;
15
::earth::time
m_time;
16
17
time_zone
()
18
{
19
20
m_dZone = -1000.0;
21
22
}
23
24
bool
is_valid(
const
class ::time & timeTimeOut)
const
25
{
26
27
return
m_strZone.has_character() && m_dZone > -25.0 && m_dZone < 25.0 && m_time.elapsed() < timeTimeOut;
28
29
}
30
31
};
32
33
34
}
// namespace datetime
35
36
37
datetime::time_zone::time_zone
time_zone()
time when this time zone record was last updated
Definition
time_zone.h:17
earth::time
Definition
earth_time.h:33
prototype
datetime
time_zone.h
Generated by
1.17.0