Skip to content

Instance Property

hour

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.9+ tvOS 9.0+ watchOS 2.0+
An hour or count of hours.
var hour: Int? { get set }

Discussion

Note

This value is interpreted in the context of the calendar in which it is used.