Platforms to show: All Mac Windows Linux Cross-Platform

NSCalendarMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa MBS MacBase Plugin 12.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: The calendar class for Cocoa.
see also

Calendar Units

Constant Value Description
kCFCalendarUnitDay 16 Specifies the day unit.
kCFCalendarUnitEra 2 Specifies the era unit.
kCFCalendarUnitHour 32 Specifies the hour unit.
kCFCalendarUnitMinute 64 Specifies the minute unit.
kCFCalendarUnitMonth 8 Specifies the month unit.
kCFCalendarUnitQuarter 2048 Specifies the quarter-year unit.
kCFCalendarUnitSecond 128 Specifies the second unit.
kCFCalendarUnitWeekday 256 Specifies the weekday unit.
The weekday units are the numbers 1-N (where for the Gregorian calendar N=7 and 1 is Sunday).
kCFCalendarUnitWeekdayOrdinal 512 Specifies the ordinal weekday unit.
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".
kCFCalendarUnitWeekOfMonth 4096 Specifies the original week of a month calendar unit.
kCFCalendarUnitWeekOfYear 8192 Specifies the original week of the year calendar unit.
kCFCalendarUnitYear 4) Specifies the year unit.
kCFCalendarUnitYearForWeekOfYear 16384 Specifies the relative year for a week within a year calendar unit.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries

The items on this page are in the following plugins: MBS MacBase Plugin.

NSCachedURLResponseMBS   -   NSCellMBS

Feedback: Report problem or ask question.

The biggest plugin in space...

Start Chat