LocalePreferences.HourCycle


class LocalePreferences.HourCycle


APIs to get the user's preference of the hour cycle.

Summary

Constants

const String!
DEFAULT = ""

Default hour cycle for the locale

const String!
H11 = "h11"

12 Hour System (0-11)

const String!
H12 = "h12"

12 Hour System (1-12)

const String!
H23 = "h23"

24 Hour System (0-23)

const String!
H24 = "h24"

24 Hour System (1-24)

Constants

DEFAULT

Added in 1.12.0
const val DEFAULT = "": String!

Default hour cycle for the locale

H11

Added in 1.12.0
const val H11 = "h11": String!

12 Hour System (0-11)

H12

Added in 1.12.0
const val H12 = "h12": String!

12 Hour System (1-12)

H23

Added in 1.12.0
const val H23 = "h23": String!

24 Hour System (0-23)

H24

Added in 1.12.0
const val H24 = "h24": String!

24 Hour System (1-24)