CellModules
TimeConvert.hpp File Reference

Provides utilities for converting between different time units. More...

Go to the source code of this file.

Namespaces

namespace  TimeConvert
 

Functions

static double TimeConvert::sToMn (double s)
 Converts seconds to minutes. More...
 
static double TimeConvert::sToH (double s)
 Converts seconds to hours. More...
 
static double TimeConvert::mnToS (double mn)
 Converts minutes to seconds. More...
 
static double TimeConvert::mnToH (double mn)
 Converts minutes to hours. More...
 
static double TimeConvert::hToS (double h)
 Converts hours to seconds. More...
 
static double TimeConvert::hToMn (double h)
 Converts hours to minutes. More...
 

Variables

static const double TimeConvert::mnInS = 60.
 Number of seconds in a minute. More...
 
static const double TimeConvert::hInS = 3600.
 Number of seconds in an hour. More...
 
static const double TimeConvert::hInMn = 60.
 Number of minutes in an hour. More...
 

Detailed Description

Provides utilities for converting between different time units.

Definition in file TimeConvert.hpp.