Type Property

hour

Identifier for the hour unit.

Declaration

static var hour: NSCalendar.Unit { get }

Discussion

The corresponding value is an NSInteger. Equal to kCFCalendarUnitHour.

See Also

Specifying Hours, Minutes, and Seconds

static var minute: NSCalendar.Unit

Identifier for the minute unit.

static var second: NSCalendar.Unit

Identifier for the second unit.

static var nanosecond: NSCalendar.Unit

Identifier for the nanosecond unit.