PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ parse_interval_length()

auto pism::Time::parse_interval_length ( const std::string &  spec) const
protected

Parses an interval specification string.

Parameters
[in]specspecification string

Definition at line 542 of file Time.cc.

References pism::RuntimeError::add_context(), pism::units::are_convertible(), pism::RuntimeError::formatted(), and PISM_ERROR_LOCATION.

Referenced by parse_range().