eckit::Time class

Public static functions

static auto now() -> Time

Constructors, destructors, conversion operators

Time(long hours, long minutes, long seconds, bool extended = false)
Time(long seconds = 0, bool extended = false)
Time(const std::string& time, bool extended = false)
Time(const Time&)
~Time()
operator std::string() const
operator Second() const

Public functions

auto operator=(const Time&) -> Time&
auto operator==(const Time& other) const -> bool
auto operator!=(const Time& other) const -> bool
auto operator>(const Time& other) const -> bool
auto operator<(const Time& other) const -> bool
auto operator>=(const Time& other) const -> bool
auto operator<=(const Time& other) const -> bool
auto operator-(const Time& other) const -> Second
auto operator+=(const Second& sec) -> Time&
auto operator-=(const Second& sec) -> Time&
auto hours() const -> long
auto minutes() const -> long
auto seconds() const -> long
auto hhmmss() const -> long
void dump(DumpLoad&) const
void load(DumpLoad&)
void hash(Hash&) const

Friends

auto operator<<(std::ostream& s, const Time& t) -> std::ostream&