userver: utils::datetime::TimePointTz Class Reference
Loading...
Searching...
No Matches
utils::datetime::TimePointTz Class Referencefinal

#include <userver/utils/datetime/timepoint_tz.hpp>

Detailed Description

Timepoint with timezone parsed in kRfc3339Format.

Definition at line 77 of file timepoint_tz.hpp.

Inheritance diagram for utils::datetime::TimePointTz:

Public Types

using TimePoint = std::chrono::system_clock::time_point

Public Member Functions

 operator TimePoint () const
std::chrono::seconds GetTzOffset () const noexcept
 Get timezone in seconds (may be negative).
TimePoint GetTimePoint () const noexcept
 Get std's time_point.
bool operator== (const TimePointTzBase &other) const
bool operator< (const TimePointTzBase &other) const
bool operator> (const TimePointTzBase &other) const
bool operator<= (const TimePointTzBase &other) const
bool operator>= (const TimePointTzBase &other) const

Member Typedef Documentation

◆ TimePoint

using utils::datetime::TimePointTzBase::TimePoint = std::chrono::system_clock::time_point
inherited

Definition at line 18 of file timepoint_tz.hpp.


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