#include <atltime.h>
Definition at line 22 of file atltime.h.
◆ CTimeSpan() [1/3]
ATL::CTimeSpan::CTimeSpan |
( |
| ) |
|
|
inlinenoexcept |
◆ CTimeSpan() [2/3]
ATL::CTimeSpan::CTimeSpan |
( |
__time64_t |
time | ) |
|
|
inlinenoexcept |
◆ CTimeSpan() [3/3]
ATL::CTimeSpan::CTimeSpan |
( |
LONG |
lDays, |
|
|
int |
nHours, |
|
|
int |
nMins, |
|
|
int |
nSecs |
|
) |
| |
|
inlinenoexcept |
Definition at line 36 of file atltime.h.
37 {
38 ATLASSERT(lDays >= 0 && nHours >= 0 && nHours <= 23 && nMins >= 0 && nMins <= 59 && nSecs >= 0 && nSecs <= 59);
39 m_nSpan = ((((
LONGLONG)lDays) * 24 + nHours) * 60 + nMins) * 60 + nSecs;
40 }
◆ Format() [1/3]
Definition at line 42 of file atltime.h.
43 {
50 }
void ReleaseBuffer(_In_ int nNewLength=-1)
size_t CDECL strftime(char *str, size_t max, const char *format, const struct tm *mstm)
◆ Format() [2/3]
Definition at line 52 of file atltime.h.
53 {
57#ifdef UNICODE
59#else
61#endif
63 return strTime;
64 }
size_t CDECL wcsftime(wchar_t *str, size_t max, const wchar_t *format, const struct tm *mstm)
◆ Format() [3/3]
Definition at line 66 of file atltime.h.
67 {
73#ifdef UNICODE
75#else
77#endif
79 return strTime;
80 }
BOOL LoadString(_In_ UINT nID)
◆ GetDays()
LONGLONG ATL::CTimeSpan::GetDays |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetHours()
LONG ATL::CTimeSpan::GetHours |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 102 of file atltime.h.
103 {
105 }
LONGLONG GetDays() const noexcept
LONGLONG GetTotalHours() const noexcept
◆ GetMinutes()
LONG ATL::CTimeSpan::GetMinutes |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 107 of file atltime.h.
108 {
110 }
LONGLONG GetTotalMinutes() const noexcept
◆ GetSeconds()
LONG ATL::CTimeSpan::GetSeconds |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 112 of file atltime.h.
113 {
115 }
LONGLONG GetTotalSeconds() const noexcept
◆ GetTimeSpan()
__time64_t ATL::CTimeSpan::GetTimeSpan |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetTotalHours()
LONGLONG ATL::CTimeSpan::GetTotalHours |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetTotalMinutes()
LONGLONG ATL::CTimeSpan::GetTotalMinutes |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetTotalSeconds()
LONGLONG ATL::CTimeSpan::GetTotalSeconds |
( |
| ) |
const |
|
inlinenoexcept |
◆ m_nSpan
__time64_t ATL::CTimeSpan::m_nSpan |
|
private |
The documentation for this class was generated from the following file: