acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
time.h
1#pragma once
2
3
4#include "acme/prototype/datetime/file_time.h"
5#include "acme/prototype/datetime/system_time.h"
6#ifdef WINDOWS
7#include "acme/operating_system/windows/time.h"
8#else
9#include "acme/operating_system/ansi/windows_time.h"
10#endif
11
12
13struct system_time_t;
14class file_time;
15
16CLASS_DECL_ACME ::i64 __first_tick(void);
17CLASS_DECL_ACME ::i64 __get_tick(void);
18
19
20class time;
21
22
23#define ISDST_DAYLIGHT_SAVINGS 1
24#define ISDST_NO_DAYLIGHT_SAVINGS 0
25#define ISDST_DONT_KNOW -1
26
27
28void copy(system_time * psystemtimeUTC, const struct tm * ptmUTC);
29void copy(struct tm * ptmUTC, const system_time * psystemtimeUTC);
30
31
32//CLASS_DECL_ACME system_time as_system_time(const tm * ptm);
35
36
37
38
39CLASS_DECL_ACME bool is_valid_file_time(const ::file_time & filetime);
40//CLASS_DECL_ACME void system_time_to_tm(tm * ptm, const system_time & systemtime);
41
42
43
44
45
46
47
48
49
50
51
Definition file_time.h:11
Definition system_time.h:8
Definition aaa_time.h:13