CatapultServer  v0.5.0.1 (Elephant)
TimeSpan.h File Reference
Include dependency graph for TimeSpan.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  catapult::utils::TimeSpan
 Represents a time duration. More...
 

Namespaces

 catapult
 
 catapult::utils
 

Functions

std::ostream & catapult::utils::operator<< (std::ostream &out, const TimeSpan &timeSpan)
 Insertion operator for outputting timeSpan to out. More...
 
constexpr Timestamp catapult::utils::operator+ (const Timestamp &timestamp, const TimeSpan &timeSpan)
 Adds timestamp and a timeSpan resulting in new timestamp. More...
 
constexpr Timestamp catapult::utils::SubtractNonNegative (const Timestamp &timestamp, const TimeSpan &timeSpan)
 Subtracts timeSpan from timestamp and returns the maximum of the difference and zero. More...