Pudu programming language
Menu
API reference

Std.Time.Format.renderDuration

1 declaration

fn

renderDuration: Int -> Str

This is a callable function.

What it does

A length of time written the way the interchange format writes one.

A duration of no length is written PT0S rather than as nothing, because

the format has no empty duration and a reader would refuse one.

Read the signature

  • The text after the name is the type checked by Pudu.
  • Read arrows from left to right: inputs come first, and the final type is returned.

Back to Std.Time.FormatSearch related declarations