Webdar 1.0.0
Web user interface to libdar
Public Member Functions | List of all members
date Class Reference

stores and manipulates date-time and its formatting to human representation More...

#include <date.hpp>

Public Member Functions

 date ()
 constructor, date'value is "now"
 
 date (const std::string &when)
 
std::string get_canonical_format () const
 returns date in RFC 1123 format
 
bool operator< (const date &ref) const
 
bool operator<= (const date &ref) const
 
bool operator== (const date &ref) const
 

Detailed Description

stores and manipulates date-time and its formatting to human representation

Constructor & Destructor Documentation

◆ date()

date::date ( const std::string &  when)

constructor, date is given in one of the following format

Note
RFC 1123, RFC 1036 or ANSI C's asctime() formats

The documentation for this class was generated from the following files: