Pudu programming language
Menu
API reference

Std.Time.Format.fromRfc3339

1 declaration

fn

fromRfc3339: Str -> Result[Int, Std.Time.Format.FormatError]

This is a callable function.

What it does

The moment interchange text names.

An offset other than zero is applied rather than rejected, so a value that

arrived from a machine keeping local time is read as the moment it names

rather than as the digits it was written with.

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.
  • Names inside [ ] are type arguments, such as the item type held by a collection.
  • Result makes success and recoverable failure part of the function's type.

Back to Std.Time.FormatSearch related declarations