acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
earth_zone_time.h
1
#pragma once
2
3
4
//#include "earth_time.h"
5
6
7
namespace
earth
8
{
9
10
11
class
CLASS_DECL_ACME zone_time :
12
public
time
13
{
14
public
:
15
16
17
class ::time m_timeshift;
18
19
20
zone_time()
noexcept
;
21
zone_time(
const
zone_time & zonetime)
noexcept
;
22
zone_time(posix_time zonetime, class ::time timeshift)
noexcept
;
23
zone_time(::i32 nYear, ::i32 nMonth, ::i32 nDay, ::i32 nHour, ::i32 nMin, ::i32 nSec, ::i32 iZoneOffset);
24
25
26
static
zone_time get_current_time(class ::time timeshift)
noexcept
;
27
28
::earth::gregorian_time
get_zone_time()
const
;
29
30
::i32 GetZoneYear()
const
noexcept
;
31
::i32 GetZoneMonth()
const
noexcept
;
32
::i32 GetZoneDay()
const
noexcept
;
33
::i32 GetZoneHour()
const
noexcept
;
34
::i32 GetZoneMinute()
const
noexcept
;
35
::i32 GetZoneSecond()
const
noexcept
;
36
::i32 GetZoneDayOfWeek()
const
noexcept
;
// 1 = Sunday, 7 = Saturday
37
38
posix_time GetZoneTimeOfDay()
const
noexcept
;
39
::i64 GetZoneDaySig()
const
noexcept
;
40
41
42
string
FormatZone(
string
& str, const ::scoped_string & scopedstrFormat)
const
;
43
string
FormatZone(const ::scoped_string & scopedstrFormat);
44
45
46
};
47
48
49
}
// namespace earth
50
51
52
//#ifdef _DEBUG
53
//CLASS_DECL_ACME dump_context & operator <<(dump_context & dumpcontext, ::earth::zone_time time);
54
//#endif
55
56
earth::gregorian_time
Definition
earth_gregorian_time.h:15
prototype
datetime
earth_zone_time.h
Generated by
1.17.0