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
      Equations
      @[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