Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ 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 538 of file Time.cc.

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

Referenced by parse_range().