Mercurial > vba-clojure
comparison src/win32/7zip/7z/CPP/Windows/Time.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 // Windows/Time.h | |
2 | |
3 #ifndef __WINDOWS_TIME_H | |
4 #define __WINDOWS_TIME_H | |
5 | |
6 #include "Common/Types.h" | |
7 | |
8 namespace NWindows { | |
9 namespace NTime { | |
10 | |
11 bool DosTimeToFileTime(UInt32 dosTime, FILETIME &fileTime); | |
12 bool FileTimeToDosTime(const FILETIME &fileTime, UInt32 &dosTime); | |
13 void UnixTimeToFileTime(UInt32 unixTime, FILETIME &fileTime); | |
14 bool FileTimeToUnixTime(const FILETIME &fileTime, UInt32 &unixTime); | |
15 bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day, | |
16 unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds); | |
17 void GetCurUtcFileTime(FILETIME &ft); | |
18 | |
19 }} | |
20 | |
21 #endif |