loom & weft
Made for Swift.

Published release 0.2.1. Unreleased PR #2 reference.

LOOM 0.2.1 / PLOTTING AND CALENDARS

CalendarWeekday

A weekday in Monday-first order, independent of locale or timezone.

Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.

Members on this page

Feature guides and release status

CalendarWeekday

Enumeration
enum CalendarWeekday

Conforms to: Swift.CaseIterable, Swift.Equatable, Swift.Hashable, Swift.RawRepresentable, Swift.Sendable, Swift.SendableMetatype.

A weekday in Monday-first order, independent of locale or timezone.

Source · CalendarDate.swift:9

init(rawValue:)

Initializer
init?(rawValue: Int)

Creates a value with the supplied arguments. Default arguments are shown in the declaration.

Parameters (1)
rawValue
Argument type and any default are shown in the declaration; see the behavior notes above.

friday

Case
case friday

The friday case. Associated values, if any, are shown in the declaration.

Source · CalendarDate.swift:10

monday

Case
case monday

The monday case. Associated values, if any, are shown in the declaration.

Source · CalendarDate.swift:10

sunday

Case
case sunday

The sunday case. Associated values, if any, are shown in the declaration.

Source · CalendarDate.swift:10

tuesday

Case
case tuesday

The tuesday case. Associated values, if any, are shown in the declaration.

Source · CalendarDate.swift:10

saturday

Case
case saturday

The saturday case. Associated values, if any, are shown in the declaration.

Source · CalendarDate.swift:10

thursday

Case
case thursday

The thursday case. Associated values, if any, are shown in the declaration.

Source · CalendarDate.swift:10

wednesday

Case
case wednesday

The wednesday case. Associated values, if any, are shown in the declaration.

Source · CalendarDate.swift:10