Functions | |
template<typename Rep , typename Period > | |
void | toDuration (std::chrono::duration< Rep, Period > &duration, const std::string &s) |
Try to construct a std::chrono::duration from a string. More... | |
template<typename Rep = double> | |
std::chrono::duration< Rep > | toSeconds (const std::string &s) |
Try to construct an instance of std::chrono::seconds from a string including a unit suffix. More... | |
void Dumux::Chrono::toDuration | ( | std::chrono::duration< Rep, Period > & | duration, |
const std::string & | s | ||
) |
std::chrono::duration< Rep > Dumux::Chrono::toSeconds | ( | const std::string & | s | ) |