Classes | Namespaces | Functions
DateTime.hpp File Reference

(2)

Date and time utilities. More...

#include <Balau/Type/ToString.hpp>
#include <Balau/System/Clock.hpp>
#include <Balau/ThirdParty/Date/date.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/date_time/posix_time/posix_time_io.hpp>
Include dependency graph for DateTime.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DateTime
 Date and time utilities simplified. More...
 

Namespaces

 Balau::Util
 Utility functions.
 

Functions

template<typename Rep , typename Period >
std::string toString (const std::chrono::duration< Rep, Period > &d)
 ToString method for duration. More...
 
template<typename Clock , typename Dur >
std::string toString (const std::chrono::time_point< Clock, Dur > &tp)
 ToString method for time point. More...
 

Detailed Description

Date and time utilities.

Function Documentation

◆ toString() [1/2]

std::string toString ( const std::chrono::duration< Rep, Period > &  d)
inline

ToString method for duration.

◆ toString() [2/2]

std::string toString ( const std::chrono::time_point< Clock, Dur > &  tp)
inline

ToString method for time point.