Opm::TimeService Namespace Reference

Functions

std::time_t to_time_t (const time_point &tp)
 
time_point from_time_t (std::time_t t)
 
time_point now ()
 
std::time_t advance (const std::time_t tp, const double sec)
 
std::time_t makeUTCTime (std::tm timePoint)
 
const std::unordered_map< std::string, int > & eclipseMonthIndices ()
 
bool valid_month (const std::string &month_name)
 

Function Documentation

◆ advance()

std::time_t Opm::TimeService::advance ( const std::time_t  tp,
const double  sec 
)

◆ eclipseMonthIndices()

const std::unordered_map< std::string, int > & Opm::TimeService::eclipseMonthIndices ( )

◆ from_time_t()

time_point Opm::TimeService::from_time_t ( std::time_t  t)

◆ makeUTCTime()

std::time_t Opm::TimeService::makeUTCTime ( std::tm  timePoint)

◆ now()

time_point Opm::TimeService::now ( )

◆ to_time_t()

std::time_t Opm::TimeService::to_time_t ( const time_point tp)

◆ valid_month()

bool Opm::TimeService::valid_month ( const std::string month_name)