Unit Conversion and Dimensional Analysis Library  2.3.0
A compile-time c++14 unit conversion library
Functions
units::time Namespace Reference

namespace for unit types and containers representing time values More...

Functions

std::ostream & operator<< (std::ostream &os, const second_t &obj)
 
std::string to_string (const second_t &obj)
 
std::ostream & operator<< (std::ostream &os, const minute_t &obj)
 
std::string to_string (const minute_t &obj)
 
std::ostream & operator<< (std::ostream &os, const hour_t &obj)
 
std::string to_string (const hour_t &obj)
 
std::ostream & operator<< (std::ostream &os, const day_t &obj)
 
std::string to_string (const day_t &obj)
 
std::ostream & operator<< (std::ostream &os, const week_t &obj)
 
std::string to_string (const week_t &obj)
 
std::ostream & operator<< (std::ostream &os, const year_t &obj)
 
std::string to_string (const year_t &obj)
 
std::ostream & operator<< (std::ostream &os, const julian_year_t &obj)
 
std::string to_string (const julian_year_t &obj)
 
std::ostream & operator<< (std::ostream &os, const gregorian_year_t &obj)
 
std::string to_string (const gregorian_year_t &obj)
 

Detailed Description

namespace for unit types and containers representing time values

The SI unit for time is seconds, and the corresponding base_unit category is time_unit.

See also
See unit_t for more information on unit type containers.