sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.text.util
/
LocalePreferences
/
HourCycle
Hour
Cycle
open
class
HourCycle
(
source
)
APIs to get the user's preference of the hour cycle.
Members
Types
Hour
Cycle
Types
Link copied to clipboard
@
RestrictTo
(
value
=
RestrictTo.Scope.LIBRARY
)
@
Retention
(
value
=
RetentionPolicy.SOURCE
)
annotation class
HourCycleTypes
Properties
DEFAULT
Link copied to clipboard
val
DEFAULT
:
String
=
""
Default hour cycle for the locale
H11
Link copied to clipboard
val
H11
:
String
=
"h11"
12 Hour System (0-11)
H12
Link copied to clipboard
val
H12
:
String
=
"h12"
12 Hour System (1-12)
H23
Link copied to clipboard
val
H23
:
String
=
"h23"
24 Hour System (0-23)
H24
Link copied to clipboard
val
H24
:
String
=
"h24"
24 Hour System (1-24)