mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 10:07:11 -06:00
9.34
This commit is contained in:
committed by
Kornel Lesiński
parent
83f8ddcc5b
commit
f08f4dcc3c
23
CPP/Windows/TimeUtils.h
Normal file
23
CPP/Windows/TimeUtils.h
Normal file
@@ -0,0 +1,23 @@
|
||||
// Windows/TimeUtils.h
|
||||
|
||||
#ifndef __WINDOWS_TIME_UTILS_H
|
||||
#define __WINDOWS_TIME_UTILS_H
|
||||
|
||||
#include "../Common/MyTypes.h"
|
||||
|
||||
namespace NWindows {
|
||||
namespace NTime {
|
||||
|
||||
bool DosTimeToFileTime(UInt32 dosTime, FILETIME &fileTime) throw();
|
||||
bool FileTimeToDosTime(const FILETIME &fileTime, UInt32 &dosTime) throw();
|
||||
void UnixTimeToFileTime(UInt32 unixTime, FILETIME &fileTime) throw();
|
||||
bool UnixTime64ToFileTime(Int64 unixTime, FILETIME &fileTime) throw();
|
||||
bool FileTimeToUnixTime(const FILETIME &fileTime, UInt32 &unixTime) throw();
|
||||
Int64 FileTimeToUnixTime64(const FILETIME &ft) throw();
|
||||
bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
|
||||
unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds) throw();
|
||||
void GetCurUtcFileTime(FILETIME &ft) throw();
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user