Contents

hourCycle

The hour cycle used by the locale, like one-to-twelve or zero-to-twenty-three.

Declaration

var hourCycle: Locale.HourCycle?

Discussion

Set this property to override the locale’s default hour cycle. To request the default hour cycle used by the locale, use the Locale property hourCycle.

This property corresponds to the hc key of the Unicode BCP 47 extension.

See Also

Specifying date and time components