Type Property

second

Identifier for the second unit.

Declaration

static var second: NSCalendar.Unit { get }

Discussion

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