date_time struct
A date-time.
Constructors, destructors, conversion operators
- date_time() constexpr noexcept
- Default-constructs a zero date-time.
- 
              date_time(toml::date d, toml:: time t) constexpr noexcept 
- Constructs a local date-time.
- 
              date_time(toml::date d, toml:: time t, toml:: time_offset off) constexpr noexcept 
- Constructs an offset date-time.
Public functions
Public variables
- 
              toml::date date 
- The date component.
- 
              toml::time time 
- The time component.
- 
              optional<toml::time_offset> offset 
- The timezone offset component.
Friends
- 
              auto operator!=(const date_time& lhs, const date_ time& rhs) → bool constexpr noexcept 
- Inequality operator.
- 
              auto operator<(const date_time& lhs, const date_ time& rhs) → bool constexpr noexcept 
- Less-than operator.
- 
              auto operator<=(const date_time& lhs, const date_ time& rhs) → bool constexpr noexcept 
- Less-than-or-equal-to operator.
- 
              auto operator==(const date_time& lhs, const date_ time& rhs) → bool constexpr noexcept 
- Equality operator.
- 
              auto operator>(const date_time& lhs, const date_ time& rhs) → bool constexpr noexcept 
- Greater-than operator.
- 
              auto operator>=(const date_time& lhs, const date_ time& rhs) → bool constexpr noexcept 
- Greater-than-or-equal-to operator.
Function documentation
               toml::
            Constructs a local date-time.
| Parameters | |
|---|---|
| d | The date component. | 
| t | The time component. | 
               toml::
            Constructs an offset date-time.
| Parameters | |
|---|---|
| d | The date component. | 
| t | The time component. | 
| off | The timezone offset. | 
Variable documentation
              optional<toml::
            The timezone offset component.