PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().