57 date(
const std::string & when);
62 bool operator < (
const date & ref)
const;
63 bool operator <= (
const date & ref)
const {
return *
this < ref || *
this == ref; };
64 bool operator == (
const date & ref)
const;
stores and manipulates date-time and its formatting to human representation
Definition: date.hpp:49
date()
constructor, date'value is "now"
Definition: date.cpp:46
std::string get_canonical_format() const
returns date in RFC 1123 format
Definition: date.cpp:68