Definition at line 77 of file time_of_day.hpp.
Public Types | |
using | DurationType = std::chrono::duration<Rep, Period> |
Public Member Functions | |
Duration arithmetic | |
constexpr | TimeOfDay (DurationType) noexcept |
template<typename ORep , typename OPeriod > | |
constexpr | TimeOfDay (std::chrono::duration< ORep, OPeriod >) noexcept |
constexpr | TimeOfDay (std::string_view) |
Comparison operators | |
constexpr bool | operator== (const TimeOfDay &) const |
constexpr bool | operator!= (const TimeOfDay &) const |
constexpr bool | operator< (const TimeOfDay &) const |
constexpr bool | operator<= (const TimeOfDay &) const |
constexpr bool | operator> (const TimeOfDay &) const |
constexpr bool | operator>= (const TimeOfDay &) const |
Accessors | |
constexpr std::chrono::hours | Hours () const noexcept |
constexpr std::chrono::minutes | Minutes () const noexcept |
constexpr std::chrono::seconds | Seconds () const noexcept |
constexpr DurationType | Subseconds () const noexcept |
constexpr DurationType | SinceMidnight () const noexcept |
static constexpr TimeOfDay | FromHHMMInt (int) |
Create time of day from integer representation, e.g.1330 => 13:30. | |
using utils::datetime::TimeOfDay< std::chrono::duration< Rep, Period > >::DurationType = std::chrono::duration<Rep, Period> |
Definition at line 79 of file time_of_day.hpp.
|
explicitconstexprnoexcept |
Definition at line 388 of file time_of_day.hpp.
|
explicitconstexprnoexcept |
Definition at line 393 of file time_of_day.hpp.
|
explicitconstexpr |
Definition at line 397 of file time_of_day.hpp.
|
staticconstexpr |
Create time of day from integer representation, e.g.1330 => 13:30.
Definition at line 476 of file time_of_day.hpp.
|
constexprnoexcept |
Definition at line 433 of file time_of_day.hpp.
|
constexprnoexcept |
Definition at line 438 of file time_of_day.hpp.
|
constexpr |
Definition at line 407 of file time_of_day.hpp.
|
constexpr |
Definition at line 412 of file time_of_day.hpp.
|
constexpr |
Definition at line 417 of file time_of_day.hpp.
|
constexpr |
Definition at line 402 of file time_of_day.hpp.
|
constexpr |
Definition at line 422 of file time_of_day.hpp.
|
constexpr |
Definition at line 427 of file time_of_day.hpp.
|
constexprnoexcept |
Definition at line 448 of file time_of_day.hpp.
|
constexprnoexcept |
Definition at line 471 of file time_of_day.hpp.
|
constexprnoexcept |
Definition at line 461 of file time_of_day.hpp.