Type Property

NSMinuteCalendarUnit

Specifies the minute unit.

Declaration

static var NSMinuteCalendarUnit: NSCalendar.Unit { get }

Discussion

The corresponding value is an NSInteger. Equal to kCFCalendarUnitMinute.

See Also

Deprecated

static var NSEraCalendarUnit: NSCalendar.Unit

Specifies the era unit.

Deprecated
static var NSYearCalendarUnit: NSCalendar.Unit

Specifies the year unit.

Deprecated
static var NSMonthCalendarUnit: NSCalendar.Unit

Specifies the month unit.

Deprecated
static var NSDayCalendarUnit: NSCalendar.Unit

Specifies the day unit.

Deprecated
static var NSHourCalendarUnit: NSCalendar.Unit

Specifies the hour unit.

Deprecated
static var NSSecondCalendarUnit: NSCalendar.Unit

Specifies the second unit.

Deprecated
static var NSWeekCalendarUnit: NSCalendar.Unit

Specifies the week unit.

Deprecated
static var NSWeekdayCalendarUnit: NSCalendar.Unit

Specifies the weekday unit.

Deprecated
static var NSWeekdayOrdinalCalendarUnit: NSCalendar.Unit

Specifies the ordinal weekday unit.

Deprecated
static var NSQuarterCalendarUnit: NSCalendar.Unit

Specifies the quarter of the calendar as a second. In macOS 10.6 and earlier this was defined as equal to quarter. In macOS 10.7 and later it is defined as (1 << 20).

Deprecated
static var NSWeekOfMonthCalendarUnit: NSCalendar.Unit

Specifies the original week of a month calendar unit.

Deprecated
static var NSWeekOfYearCalendarUnit: NSCalendar.Unit

Specifies the original week of the year calendar unit.

Deprecated
static var NSYearForWeekOfYearCalendarUnit: NSCalendar.Unit

Specifies the year when the calendar is being interpreted as a week-based calendar.

Deprecated
static var NSCalendarCalendarUnit: NSCalendar.Unit

Specifies the calendar of the calendar.

Deprecated
static var NSTimeZoneCalendarUnit: NSCalendar.Unit

Specifies the time zone of the calendar as an NSTimeZone.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software