Weekday
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
struct Weekday
struct Weekday
s20FoundationEssentials4DateV0A20InternationalizationE11FormatStyleV6SymbolV7WeekdayV
What are these?6RZ8D
import FoundationEssentials
import FoundationInternationalization
struct Symbol
struct Date
Date
represents a single point in time.
struct FormatStyle
Strategies for formatting a Date
.
struct CyclicYear
struct Day
struct DayOfYear
struct DayPeriod
struct Era
struct Hour
struct Minute
struct Month
struct Quarter
struct Second
struct SecondFraction
struct StandaloneMonth
struct StandaloneQuarter
struct StandaloneWeekday
struct TimeZone
struct VerbatimHour
struct Week
struct Year
struct YearForWeekOfYear
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
static var abbreviated: Date.FormatStyle.Symbol.Weekday { get }
Abbreviated day of week name. For example, “Tue”.
static var narrow: Date.FormatStyle.Symbol.Weekday { get }
Narrow day of week name. For example, “T”.
static let omitted: Date.FormatStyle.Symbol.Weekday
The option for not including the symbol in the formatted output.
static var oneDigit: Date.FormatStyle.Symbol.Weekday { get }
Local day of week number/name. The value depends on the local starting day of the week.
static var short: Date.FormatStyle.Symbol.Weekday { get }
Short day of week name. For example, “Tu”.
static var twoDigits: Date.FormatStyle.Symbol.Weekday { get }
Local day of week number/name, format style; two digits, zero-padded if necessary.
static var wide: Date.FormatStyle.Symbol.Weekday { get }
Wide day of week name. For example, “Tuesday”.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.