Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Converts *this into a local time point (checked access).
constexpr std::chrono::local_days as_local_time_point() const;
The returned object has the same time_since_epoch() as this->as_time_point(), but uses the std::chrono::local_t
pseudo-clock to better represent the absence of time zone information.
Requires C++20 calendar types.
Strong guarantee.
|
Type |
Thrown On |
|---|---|
|
|
If |