OGS
DateTools.cpp File Reference

Detailed Description

Implementation of date helper functions.

Author
Karsten Rink
Date
2010-06-16

Definition in file DateTools.cpp.

#include "DateTools.h"
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <sstream>
#include "Logging.h"
Include dependency graph for DateTools.cpp:

Go to the source code of this file.

Namespaces

namespace  BaseLib
 

Functions

int BaseLib::date2int (int y, int m, int d)
 
std::string BaseLib::int2date (int date)
 
std::string BaseLib::date2string (double ddate)
 
int BaseLib::strDate2int (const std::string &s)
 
int BaseLib::xmlDate2int (const std::string &s)
 
std::string BaseLib::formatDate (std::chrono::time_point< std::chrono::system_clock > const &time)