Documentation

Std.Time.Date.Unit.Weekday

Defines the enumeration for days of the week. Each variant corresponds to a day of the week.

Instances For

    Ordinal represents a bounded value for weekdays, which ranges between 1 and 7.

    Equations
    Instances For

      Converts a Nat to an Option Weekday.

      Instances For
        @[inline]

        Converts a Nat to a Weekday. Panics if the value provided is invalid.

        Equations
        Instances For

          Check if it's a weekend.

          Equations
          Instances For