Mercurial > vba-clojure
view src/win32/7zip/7z/CPP/Windows/Time.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 // Windows/Time.h3 #ifndef __WINDOWS_TIME_H4 #define __WINDOWS_TIME_H6 #include "Common/Types.h"8 namespace NWindows {9 namespace NTime {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);19 }}21 #endif