Mac OS X Reference Library Apple Developer Connection spyglass button

CalNthWeekDay Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/CalendarStore.framework
Availability
Available in Mac OS X v10.5 and later.
Companion guide
Declared in
CalRecurrenceRule.h

Overview

CalNthWeekDay objects are used to describe the nthWeekDaysOfTheMonth property of an CalRecurrenceRule object which specifies the nth instance of a particular day of the week—for example, the third Tuesday of every month. The properties defined in this class are read-only.

Tasks

Getting Properties

Properties

For more about Objective-C properties, see “Properties” in The Objective-C Programming Language.

dayOfTheWeek

The day of the week, a number from 1 to 7 with Sunday equal to 1.

@property(readonly) NSUInteger dayOfTheWeek;
Availability
Declared In
CalRecurrenceRule.h

weekNumber

The week of the month, a number that is either 1, 2, 3, 4, or -1 where -1 indicates the last week of the month.

@property(readonly) NSInteger weekNumber;
Availability
Declared In
CalRecurrenceRule.h


Last updated: 2007-07-08

Did this document help you? Yes It's good, but... Not helpful...