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()
601 public static Boolean is24Hour; field in DateFormat610 public static final void set24HourTimePref(Boolean is24Hour) { in set24HourTimePref() argument611 DateFormat.is24Hour = is24Hour; in set24HourTimePref()
141 Boolean originalSetting = DateFormat.is24Hour; in testTimeFormat12And24()144 DateFormat.is24Hour = false; in testTimeFormat12And24()146 DateFormat.is24Hour = true; in testTimeFormat12And24()150 DateFormat.is24Hour = false; in testTimeFormat12And24()152 DateFormat.is24Hour = true; in testTimeFormat12And24()155 DateFormat.is24Hour = originalSetting; in testTimeFormat12And24()
269 if (DateFormat.is24Hour == null) { in getTimeFormat()272 return ICU.getTimePattern(mLocale, DateFormat.is24Hour, false); in getTimeFormat()275 if (DateFormat.is24Hour == null) { in getTimeFormat()278 return ICU.getTimePattern(mLocale, DateFormat.is24Hour, true); in getTimeFormat()
289 /* package */ static String getTimePattern(Locale locale, boolean is24Hour, boolean withSecond) { in getTimePattern() argument292 skeleton = is24Hour ? "Hms" : "hms"; in getTimePattern()294 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()
87 public static final void set24HourTimePref(java.lang.Boolean is24Hour) { throw new RuntimeException… in set24HourTimePref() argument161 public static java.lang.Boolean is24Hour; field in DateFormat
118 public static final void set24HourTimePref(java.lang.Boolean is24Hour) { in set24HourTimePref() argument224 public static java.lang.Boolean is24Hour; field in DateFormat
91 originalIs24Hour = DateFormat.is24Hour; in clearIs24Hour()
494 DateFormat.is24Hour = null; in test_toLocaleString()