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.