eckit::DateTime class

Derived classes

class VerifyingDate

Constructors, destructors, conversion operators

DateTime(time_t = ::time(0))
DateTime(const Date&, const Time&)
DateTime(const std::string&)
DateTime(double)
DateTime(const DateTime& other)
~DateTime()
operator std::string() const

Public functions

auto operator<(const DateTime& other) const -> bool
auto operator==(const DateTime& other) const -> bool
auto operator!=(const DateTime& other) const -> bool
auto operator>(const DateTime& other) const -> bool
auto operator>=(const DateTime& other) const -> bool
auto operator<=(const DateTime& other) const -> bool
auto operator=(const DateTime&) -> DateTime&
auto operator-(const DateTime&) const -> Second
auto operator+(const Second&) const -> DateTime
auto date() const -> const Date&
auto time() const -> const Time&
auto round(const Second& seconds) const -> DateTime
void dump(DumpLoad&) const
void load(DumpLoad&)
auto format(const std::string& fmt) -> std::string
auto iso(bool UTC = true) const -> std::string
void hash(Hash&) const

Friends

auto operator<<(std::ostream& s, const DateTime& p) -> std::ostream&