VAPoR  0.1
PVTime.h
Go to the documentation of this file.
1 //
2 // $Id$
3 //
4 //************************************************************************
5 // *
6 // Copyright (C) 2004 *
7 // University Corporation for Atmospheric Research *
8 // All Rights Reserved *
9 // *
10 //************************************************************************/
11 
12 #ifndef _PVTime_h_
13 #define _PVTime_h_
14 
15 #include <cmath>
16 #include <string>
17 #include <ctime>
18 #ifndef WIN32
19 #include <stdint.h>
20 #endif
21 #include <vapor/common.h>
22 
23 #ifndef TIME64_T
24 #ifdef WIN32
25 #define TIME64_T __int64
26 #else
27 #define TIME64_T int64_t
28 #endif
29 #endif
30 
31 using namespace std;
32 
33 namespace VetsUtil {
34 
35 COMMON_API TIME64_T MkTime64 (struct tm *t);
36 COMMON_API struct tm *LocalTime64_r (const TIME64_T *t, struct tm *p);
37 COMMON_API struct tm *GmTime64_r (const TIME64_T *t, struct tm *p);
38 
39 
40 };
41 
42 #endif // _PVTime_h_
COMMON_API struct tm * GmTime64_r(const TIME64_T *t, struct tm *p)
#define TIME64_T
Definition: PVTime.h:27
COMMON_API TIME64_T MkTime64(struct tm *t)
COMMON_API struct tm * LocalTime64_r(const TIME64_T *t, struct tm *p)
#define COMMON_API
Definition: common.h:60