LocalePreferences.HourCycle


public class LocalePreferences.HourCycle


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

Summary

Constants

static final String
DEFAULT = ""

Default hour cycle for the locale

static final String
H11 = "h11"

12 Hour System (0-11)

static final String
H12 = "h12"

12 Hour System (1-12)

static final String
H23 = "h23"

24 Hour System (0-23)

static final String
H24 = "h24"

24 Hour System (1-24)

Constants

DEFAULT

Added in 1.12.0
public static final String DEFAULT = ""

Default hour cycle for the locale

H11

Added in 1.12.0
public static final String H11 = "h11"

12 Hour System (0-11)

H12

Added in 1.12.0
public static final String H12 = "h12"

12 Hour System (1-12)

H23

Added in 1.12.0
public static final String H23 = "h23"

24 Hour System (0-23)

H24

Added in 1.12.0
public static final String H24 = "h24"

24 Hour System (1-24)