ORM C++
Loading...
Searching...
No Matches
orm::TimeOfDay Class Referenceexport
module orm

Public Member Functions

constexpr TimeOfDay () noexcept=default
constexpr TimeOfDay (std::chrono::microseconds valueInit)
constexpr auto sinceMidnight () const noexcept -> std::chrono::microseconds
constexpr auto operator== (const TimeOfDay &other) const noexcept -> bool
constexpr auto operator<=> (const TimeOfDay &other) const noexcept -> std::strong_ordering

Detailed Description

A time of day in the half-open interval [00:00:00, 24:00:00).

Definition at line 29 of file values.cppm.

Constructor & Destructor Documentation

◆ TimeOfDay() [1/2]

orm::TimeOfDay::TimeOfDay ( )
constexprdefaultnoexcept

◆ TimeOfDay() [2/2]

orm::TimeOfDay::TimeOfDay ( std::chrono::microseconds valueInit)
inlineexplicitconstexpr

Definition at line 34 of file values.cppm.

Member Function Documentation

◆ operator<=>()

auto orm::TimeOfDay::operator<=> ( const TimeOfDay & other) const -> std::strong_ordering
inlineconstexprnoexcept

Definition at line 52 of file values.cppm.

◆ operator==()

auto orm::TimeOfDay::operator== ( const TimeOfDay & other) const -> bool
inlineconstexprnoexcept

Definition at line 47 of file values.cppm.

◆ sinceMidnight()

auto orm::TimeOfDay::sinceMidnight ( ) const -> std::chrono::microseconds
inlinenodiscardconstexprnoexcept

Definition at line 42 of file values.cppm.


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