eckit::VerifyingDate class

Base classes

class DateTime

Constructors, destructors, conversion operators

VerifyingDate(time_t = ::time(0))
VerifyingDate(const Date&, const Time&)
VerifyingDate(const std::string&)
VerifyingDate(const DateTime&)
~VerifyingDate()
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&) 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 VerifyingDate& p) -> std::ostream&

Function documentation

bool eckit::VerifyingDate::operator<(const DateTime& other) const

bool eckit::VerifyingDate::operator==(const DateTime& other) const

bool eckit::VerifyingDate::operator!=(const DateTime& other) const

bool eckit::VerifyingDate::operator>(const DateTime& other) const

bool eckit::VerifyingDate::operator>=(const DateTime& other) const

bool eckit::VerifyingDate::operator<=(const DateTime& other) const

Second eckit::VerifyingDate::operator-(const DateTime&) const

DateTime eckit::VerifyingDate::operator+(const Second&) const

const Date& eckit::VerifyingDate::date() const

const Time& eckit::VerifyingDate::time() const

DateTime eckit::VerifyingDate::round(const Second& seconds) const

void eckit::VerifyingDate::dump(DumpLoad&) const

void eckit::VerifyingDate::load(DumpLoad&)

std::string eckit::VerifyingDate::format(const std::string& fmt)

std::string eckit::VerifyingDate::iso(bool UTC = true) const

void eckit::VerifyingDate::hash(Hash&) const