MonobjcMonobjc Documented Class Library
NSCalendarUnit Enumeration
NamespacesMonobjc.FoundationNSCalendarUnit

Specify calendrical units such as day and month.

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSCalendarUnit
Public Enumeration NSCalendarUnit
public enum class NSCalendarUnit
Members
MemberDescription
NSEraCalendarUnit

Specifies the era unit.

The corresponding value is an int. Equal to kCFCalendarUnitEra.

Available in Mac OS X v10.4 and later.


NSYearCalendarUnit

Specifies the year unit.

The corresponding value is an int. Equal to kCFCalendarUnitYear.

Available in Mac OS X v10.4 and later.


NSMonthCalendarUnit

Specifies the month unit.

The corresponding value is an int. Equal to kCFCalendarUnitMonth.

Available in Mac OS X v10.4 and later.


NSDayCalendarUnit

Specifies the day unit.

The corresponding value is an int. Equal to kCFCalendarUnitDay.

Available in Mac OS X v10.4 and later.


NSHourCalendarUnit

Specifies the hour unit.

The corresponding value is an int. Equal to kCFCalendarUnitHour.

Available in Mac OS X v10.4 and later.


NSMinuteCalendarUnit

Specifies the minute unit.

The corresponding value is an int. Equal to kCFCalendarUnitMinute.

Available in Mac OS X v10.4 and later.


NSSecondCalendarUnit

Specifies the second unit.

The corresponding value is a double. Equal to kCFCalendarUnitSecond.

Available in Mac OS X v10.4 and later.


NSWeekCalendarUnit

Specifies the week unit.

The corresponding value is an int. Equal to kCFCalendarUnitWeek.

Available in Mac OS X v10.4 and later.


NSWeekdayCalendarUnit

Specifies the weekday unit.

The corresponding value is an int. Equal to kCFCalendarUnitWeekday. The weekday units are the numbers 1 through N (where for the Gregorian calendar N=7 and 1 is Sunday).

Available in Mac OS X v10.4 and later.


NSWeekdayOrdinalCalendarUnit

Specifies the ordinal weekday unit.

The corresponding value is an int. 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".

Available in Mac OS X v10.4 and later.


NSQuarterCalendarUnit

Specifies the quarter of the calendar as an int. Equal to kCFCalendarUnitQuarter.

Available in Mac OS X v10.6 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)