Pudu programming language
Menu
API reference

Std.Time.Format.millisOf

1 declaration

fn

millisOf: &Std.Time.Format.Parts -> Int

This is a callable function.

What it does

The moment fields name, as the time at zero offset.

Fields outside their range are carried rather than refused: the thirteenth

month is January of the next year, which is what makes adding a month to

December work without the caller checking first.

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.
  • & borrows a value for this call instead of moving or copying it.

Back to Std.Time.FormatSearch related declarations