Searched refs:is24Hour (Results 1 – 12 of 12) sorted by relevance
31 Boolean originalIs24Hour = DateFormat.is24Hour; in testIs24Hour_notCached()34 DateFormat.is24Hour = null; // null == locale default (12 hour for US) in testIs24Hour_notCached()38 DateFormat.is24Hour = true; // Explicit 24 hour. in testIs24Hour_notCached()42 DateFormat.is24Hour = false; // Explicit 12 hour. in testIs24Hour_notCached()46 DateFormat.is24Hour = originalIs24Hour; in testIs24Hour_notCached()
90 DateFormat.is24Hour = null; in test_formatLjava_util_Date()110 DateFormat.is24Hour = null; in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()212 DateFormat.is24Hour = null; in test_parseLString()
129 Boolean originalSetting = DateFormat.is24Hour; in testTimeFormat12And24()132 DateFormat.is24Hour = false; in testTimeFormat12And24()134 DateFormat.is24Hour = true; in testTimeFormat12And24()138 DateFormat.is24Hour = false; in testTimeFormat12And24()140 DateFormat.is24Hour = true; in testTimeFormat12And24()143 DateFormat.is24Hour = originalSetting; in testTimeFormat12And24()
601 public static Boolean is24Hour; field in DateFormat618 public static final void set24HourTimePref(Boolean is24Hour) { in set24HourTimePref() argument619 DateFormat.is24Hour = is24Hour; in set24HourTimePref()
270 if (DateFormat.is24Hour == null) { in getTimeFormat()273 return ICU.getTimePattern(mLocale, DateFormat.is24Hour, false); in getTimeFormat()276 if (DateFormat.is24Hour == null) { in getTimeFormat()279 return ICU.getTimePattern(mLocale, DateFormat.is24Hour, true); in getTimeFormat()
322 /* package */ static String getTimePattern(Locale locale, boolean is24Hour, boolean withSecond) { in getTimePattern() argument325 skeleton = is24Hour ? "Hms" : "hms"; in getTimePattern()327 skeleton = is24Hour ? "Hm" : "hm"; in getTimePattern()
48 DateFormat.is24Hour = null; in t_format_with_FieldPosition()77 DateFormat.is24Hour = null; in t_formatToCharacterIterator()
188 DateFormat.is24Hour = null; in test_parseLjava_lang_String()
118 public static final void set24HourTimePref(java.lang.Boolean is24Hour) { in set24HourTimePref() argument224 public static java.lang.Boolean is24Hour; field in DateFormat
88 public static final void set24HourTimePref(java.lang.Boolean is24Hour) { throw new RuntimeException… in set24HourTimePref() argument162 public static java.lang.Boolean is24Hour; field in DateFormat
91 originalIs24Hour = DateFormat.is24Hour; in clearIs24Hour()
494 DateFormat.is24Hour = null; in test_toLocaleString()