Nebula
Loading...
Searching...
No Matches
win32calendartime.h
Go to the documentation of this file.
1#pragma once
2#ifndef WIN32_WIN32CALENDARTIME_H
3#define WIN32_WIN32CALENDARTIME_H
4//------------------------------------------------------------------------------
15
16//------------------------------------------------------------------------------
17namespace Win32
18{
20{
21public:
34
35private:
37 static Timing::CalendarTime FromWin32SystemTime(const SYSTEMTIME& t);
39 static SYSTEMTIME ToWin32SystemTime(const Timing::CalendarTime& calTime);
40};
41
42} // namespace Win32
43//------------------------------------------------------------------------------
44#endif
Allows to obtain the current point in time as year, month, day, etc... down to milliseconds,...
Definition calendartimebase.h:27
Defines a file-access timestamp.
Allows to obtain the current point in time as year, month, day, etc... down to milliseconds,...
Win implementation of CalendarTime.
Definition win32calendartime.h:20
static Timing::CalendarTime GetLocalTime()
get the current local time
Definition win32calendartime.cc:69
static Timing::CalendarTime FileTimeToSystemTime(const IO::FileTime &fileTime)
convert file time to system time
Definition win32calendartime.cc:92
static SYSTEMTIME ToWin32SystemTime(const Timing::CalendarTime &calTime)
convert to Win32 SYSTEMTIME
Definition win32calendartime.cc:37
static Timing::CalendarTime FromWin32SystemTime(const SYSTEMTIME &t)
convert from Win32 SYSTEMTIME
Definition win32calendartime.cc:19
static IO::FileTime LocalTimeToFileTime(const Timing::CalendarTime &localTime)
convert local time to file time
Definition win32calendartime.cc:103
static IO::FileTime SystemTimeToFileTime(const Timing::CalendarTime &systemTime)
convert system time to file time
Definition win32calendartime.cc:80
static Timing::CalendarTime FileTimeToLocalTime(const IO::FileTime &fileTime)
convert file time to local time
Definition win32calendartime.cc:117
static Timing::CalendarTime GetSystemTime()
get the current system time
Definition win32calendartime.cc:57
[TODO: Describe Win32 subsystem]