NSCalendarMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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
The calendar class for Cocoa.

see also
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSCalendar_Class/Reference/NSCalendar.html

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. more
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

Release notes


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


NSCachedURLResponseMBS   -   NSCellMBS


💬 Ask a question or report a problem