SYSTEMTIME
.
winstl::to_SYSTEMTIME
SYSTEMTIME
.const SYSTEMTIME
SYSTEMTIME const &to_SYSTEMTIME(SYSTEMTIME const &rhs)
Functions | |
const SYSTEMTIME | to_SYSTEMTIME (DATE const &rhs) |
Converts an instance of DATE to an instance of SYSTEMTIME, using the Windows API function VarUdateFromDate() . | |
const SYSTEMTIME | to_SYSTEMTIME (FILETIME const &rhs) |
Converts an instance of FILETIME to an instance of SYSTEMTIME, using the Windows API function FileTimeToSystemTime() . | |
SYSTEMTIME const & | to_SYSTEMTIME (SYSTEMTIME const &rhs) |
Degenerate case of the winstl::to_SYSTEMTIME Time Conversion Shim. | |
SYSTEMTIME const & | to_SYSTEMTIME (UDATE const &rhs) |
Degenerate case of the winstl::to_SYSTEMTIME Time Conversion Shim. |
SYSTEMTIME const& winstl::to_SYSTEMTIME | ( | UDATE const & | rhs | ) | [inline] |
Degenerate case of the winstl::to_SYSTEMTIME Time Conversion Shim.
rhs | An instance of type UDATE |
SYSTEMTIME
- | No error checking is performed, and no exception can be thrown. |
SYSTEMTIME const& winstl::to_SYSTEMTIME | ( | SYSTEMTIME const & | rhs | ) | [inline] |
Degenerate case of the winstl::to_SYSTEMTIME Time Conversion Shim.
rhs | An instance of type SYSTEMTIME |
SYSTEMTIME
- | No error checking is performed, and no exception can be thrown. |
const SYSTEMTIME winstl::to_SYSTEMTIME | ( | FILETIME const & | rhs | ) | [inline] |
Converts an instance of FILETIME to an instance of SYSTEMTIME, using the Windows API function FileTimeToSystemTime()
.
rhs | A valid date, of type FILETIME |
SYSTEMTIME
winstl::conversion_error | If the conversion fails, e.g. the FILETIME instance does not contain a valid date. When compiling absent exception support, a zero-initialised instance of SYSTEMTIME is returned. |
References winstl::zero_struct().
const SYSTEMTIME winstl::to_SYSTEMTIME | ( | DATE const & | rhs | ) | [inline] |
Converts an instance of DATE to an instance of SYSTEMTIME, using the Windows API function VarUdateFromDate()
.
rhs | A valid date, of type DATE |
SYSTEMTIME
winstl::conversion_error | If the conversion fails, e.g. the DATE instance does not contain a valid date. When compiling absent exception support, a zero-initialised instance of SYSTEMTIME is returned. |
References winstl::zero_struct().
Referenced by winstl::FILETIME2SYSTEMTIME(), winstl::to_DATE(), and winstl::to_FILETIME().