22#include "anch-date-export.hpp"
30#include "date/date.hpp"
31#include "date/time.hpp"
57 std::chrono::minutes _offset;
119 constexpr std::chrono::minutes
offset() const noexcept;
155 constexpr std::chrono::nanoseconds instant() const noexcept;
166 constexpr std::strong_ordering operator<=>(const
OffsetTime& other) const noexcept;
175 constexpr
bool operator==(const
OffsetTime& other) const noexcept;
194#include "date/impl/offsetTime.hpp"
Time of day with an offset from UTC (RFC 3339 full-time , time format of JSON schema and OpenAPI).
Definition offsetTime.hpp:49
anch::date::Time utc() const noexcept
constexpr std::chrono::minutes offset() const noexcept
static OffsetTime now(anch::date::Zone zone=anch::date::Zone::LOCAL)
std::string format() const
constexpr bool isSameInstant(const OffsetTime &other) const noexcept
OffsetTime withOffset(std::chrono::minutes offset) const
constexpr OffsetTime() noexcept
static OffsetTime parse(std::string_view text)
constexpr const anch::date::Time & time() const noexcept
Time of day (RFC 3339 partial-time , SQL TIME , XSD xs:time without time zone).
Definition time.hpp:48
Zone
Time zone of conversions between days and points in time.
Definition date.hpp:42
AnCH framework base namespace.
Definition app.hpp:30