units_time(3)
| units::time(3) | Unit Conversion and Dimensional Analysis Library | units::time(3) |
NAME
units::time - namespace for unit types and containers representing time values
SYNOPSIS
Typedefs
Units (full names plural)
typedef unit< std::ratio< 1 >,
units::category::time_unit > seconds
Units (full names singular)
typedef seconds second
Units (abbreviated)
typedef seconds s
Unit Containers
typedef unit_t< second > second_t
typedef unit_t< minute > minute_t
typedef unit_t< hour > hour_t
typedef unit_t< day > day_t
typedef unit_t< week > week_t
typedef unit_t< year > year_t
typedef unit_t< julian_year > julian_year_t
typedef unit_t< gregorian_year > gregorian_year_t
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
Author
Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.
| Wed Feb 11 2026 09:38:34 | Version 2.3.0 |
