Initializer

init(rawValue:)

Creates a new calendar unit from the raw value.

Declaration

init(rawValue: UInt)

Parameters

rawValue

The raw value representing a calendar unit.