xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::date_times Class Reference

Static Public Member Functions

static std::tm create (date_time_kind kind=date_time_kind::local) noexcept
 
static std::tm create (time_t time, date_time_kind kind=date_time_kind::utc) noexcept
 
static std::tm create (const tm &time, date_time_kind kind=date_time_kind::utc) noexcept
 
static std::tm create (int year, int month, int day, date_time_kind kind=date_time_kind::local) noexcept
 
static std::tm create (int year, int month, int day, int hour, int minute, int second, date_time_kind kind=date_time_kind::local) noexcept
 
static std::tm max () noexcept
 
static std::tm min () noexcept
 
static std::tm now ()
 
static std::tm to_local_time (time_t time) noexcept
 
static std::tm to_local_time (const std::chrono::system_clock::time_point &time) noexcept
 
static std::tm to_local_time (std::tm time) noexcept
 
static std::tm to_universal_time (time_t time) noexcept
 
static std::tm to_universal_time (const std::chrono::system_clock::time_point &time) noexcept
 
static std::tm to_universal_time (std::tm time) noexcept
 
static std::tm utc_now ()
 

The documentation for this class was generated from the following file: