Type Property


Identifier for the second unit.


static var second: NSCalendar.Unit { get }


The corresponding value is a double. Equal to kCFCalendarUnitSecond.

See Also

Specifying Hours, Minutes, and Seconds

static var hour: NSCalendar.Unit

Identifier for the hour unit.

static var minute: NSCalendar.Unit

Identifier for the minute unit.

static var nanosecond: NSCalendar.Unit

Identifier for the nanosecond unit.

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