Type Property 型プロパティ

weekdayOrdinal

Identifier for the ordinal weekday unit. 序数的週日単位に対する識別子。

Declaration 宣言

static var weekdayOrdinal: NSCalendar.Unit { get }

Discussion 議論

The corresponding value is an NSInteger. Equal to kCFCalendarUnitWeekdayOrdinal. The weekday ordinal unit describes ordinal position within the month unit of the corresponding weekday unit. For example, in the Gregorian calendar a weekday ordinal unit of 2 for a weekday unit 3 indicates “the second Tuesday in the month”. 対応する値はNSIntegerです。kCFCalendarUnitWeekdayOrdinalに等しいです。この週日序数単位は、対応する週日単位の、月単位内での順番位置を記述します。例えば、グレゴリオ暦において2の週日序数単位は週日単位3に対しては "その月の第2火曜日" を指し示します。

See Also 参照

Specifying Weeks and Days 週と日にちを指定する