1// Windows/Time.h
2
3#ifndef __WINDOWS_TIME_H
4#define __WINDOWS_TIME_H
5
6#include "Common/Types.h"
7
8namespace NWindows {
9namespace NTime {
10
11bool DosTimeToFileTime(UInt32 dosTime, FILETIME &fileTime);
12bool FileTimeToDosTime(const FILETIME &fileTime, UInt32 &dosTime);
13void UnixTimeToFileTime(UInt32 unixTime, FILETIME &fileTime);
14bool FileTimeToUnixTime(const FILETIME &fileTime, UInt32 &unixTime);
15bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
16  unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds);
17void GetCurUtcFileTime(FILETIME &ft);
18
19}}
20
21#endif
22