Home
last modified time | relevance | path

Searched refs:is24Hour (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DDateFormatTest.java31 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()
DOldDateFormatTest.java90 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()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java601 public static Boolean is24Hour; field in DateFormat
610 public static final void set24HourTimePref(Boolean is24Hour) { in set24HourTimePref() argument
611 DateFormat.is24Hour = is24Hour; in set24HourTimePref()
/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java141 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()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java269 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()
DICU.java289 /* package */ static String getTimePattern(Locale locale, boolean is24Hour, boolean withSecond) { in getTimePattern() argument
292 skeleton = is24Hour ? "Hms" : "hms"; in getTimePattern()
294 skeleton = is24Hour ? "Hm" : "hm"; in getTimePattern()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_MessageFormat.java48 DateFormat.is24Hour = null; in t_format_with_FieldPosition()
77 DateFormat.is24Hour = null; in t_formatToCharacterIterator()
DMessageFormatTest.java188 DateFormat.is24Hour = null; in test_parseLjava_lang_String()
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java87 public static final void set24HourTimePref(java.lang.Boolean is24Hour) { throw new RuntimeException… in set24HourTimePref() argument
161 public static java.lang.Boolean is24Hour; field in DateFormat
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java118 public static final void set24HourTimePref(java.lang.Boolean is24Hour) { in set24HourTimePref() argument
224 public static java.lang.Boolean is24Hour; field in DateFormat
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedPrinterParser.java91 originalIs24Hour = DateFormat.is24Hour; in clearIs24Hour()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java494 DateFormat.is24Hour = null; in test_toLocaleString()