acme
Foundational cross-platform layer of the ca2 framework
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
5namespace datetime
6{
7
8
10 {
11 public:
12
13 string m_strZone;
14 ::f64 m_dZone;
15 ::earth::time m_time;
16
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
time_zone()
time when this time zone record was last updated
Definition time_zone.h:17
Definition earth_time.h:33