Nebula
Loading...
Searching...
No Matches
posixcalendartime.h
Go to the documentation of this file.
1#ifndef POSIX_POSIXCALENDARTIME_H
2#define POSIX_POSIXCALENDARTIME_H
3//------------------------------------------------------------------------------
13
14
15
16//------------------------------------------------------------------------------
17namespace Posix
18{
20{
21public:
34
35private:
37 static Timing::CalendarTime FromPosixSystemTime(const timeval & t);
39 static timeval ToPosixSystemTime(const Timing::CalendarTime& calTime);
40};
41
42} // namespace Posix
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.
Posix implementation of CalendarTime.
Definition posixcalendartime.h:20
static Timing::CalendarTime FileTimeToLocalTime(const IO::FileTime &fileTime)
convert file time to local time
Definition posixcalendartime.cc:124
static Timing::CalendarTime GetLocalTime()
get the current local time
Definition posixcalendartime.cc:74
static Timing::CalendarTime GetSystemTime()
get the current system time
Definition posixcalendartime.cc:62
static Timing::CalendarTime FromPosixSystemTime(const timeval &t)
convert from Posix time_t
Definition posixcalendartime.cc:20
static IO::FileTime LocalTimeToFileTime(const Timing::CalendarTime &localTime)
convert local time to file time
Definition posixcalendartime.cc:111
static Timing::CalendarTime FileTimeToSystemTime(const IO::FileTime &fileTime)
convert file time to system time
Definition posixcalendartime.cc:100
static timeval ToPosixSystemTime(const Timing::CalendarTime &calTime)
convert to Posix time_t
Definition posixcalendartime.cc:40
static IO::FileTime SystemTimeToFileTime(const Timing::CalendarTime &systemTime)
convert system time to file time
Definition posixcalendartime.cc:88
Allows to obtain the current point in time as year, month, day, etc... down to milliseconds,...
Posix implemention of a read-many write-few lock.
Definition posixsysfunc.cc:21