class
#include <eckit/types/Date.h>
Date
Public types
Public static functions
-
static auto parse(const std::
string&) -> long
Constructors, destructors, conversion operators
- Date()
- Date(long)
- Date(long, long, long)
-
Date(const std::
string&) - Date(long, long)
- Date(const Date& other)
- ~Date()
- operator std::string() const
Public functions
- auto operator=(const Date& other) -> Date&
- auto operator==(const Date& other) const -> bool
- auto operator!=(const Date& other) const -> bool
- auto operator<(const Date& other) const -> bool
- auto operator>(const Date& other) const -> bool
- auto operator<=(const Date& other) const -> bool
- auto operator>=(const Date& other) const -> bool
- auto operator++() -> Date&
- auto operator--() -> Date&
- auto operator+=(long d) -> Date&
- auto operator-=(long d) -> Date&
- auto year() const -> long
- auto month() const -> long
- auto day() const -> long
- auto yyyymmdd() const -> long
- auto julian() const -> long
- auto round(int n) -> Date
-
auto monthName() const -> std::
string - auto dayOfWeek() const -> long
- void dump(DumpLoad&) const
- void load(DumpLoad&)
- void hash(Hash&) const
Friends
-
auto operator<<(std::
ostream& s, const Date& date) -> std:: ostream& - auto operator-(const Date& d1, const Date& d2) -> long
- auto operator+(const Date& d1, const long n) -> Date
- auto operator+(const long n, const Date& d1) -> Date