Skip to main content

DURATION_FROM

Convert serialized text into a duration value.

Return Type​

Duration.

Usage​

A duration represents elapsed time rather than an instant. Check supported formats before using this conversion.

Reference Coverage​

The available operation reference identifies this operation but does not document its arguments, YAML syntax, or null and error behavior. Check the schema shipped with your repository and validate an example with your installed repo-manager version before using it in policy logic.

See Policy files and YAML schema for validation guidance.