/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DataFormatFieldTest.java | 109 Calendar.AM_PM, Field.AM_PM.getCalendarField()); in test_getCalendarField() 134 Field.AM_PM, Field.ofCalendarField(Calendar.AM_PM)); in test_ofCalendarFieldI() 188 field = new MyField(null, Calendar.AM_PM); in test_readResolve()
|
D | Support_MessageFormat.java | 62 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0, in t_format_with_FieldPosition() 103 v.add(new FieldContainer(27, 29, DateFormat.Field.AM_PM)); in getMessageVector1()
|
D | Support_SimpleDateFormat.java | 90 t_FormatWithField(15, format, date, null, Field.AM_PM, 143, 145); in t_format_with_FieldPosition() 119 t_FormatWithField(37, format, date, null, Field.AM_PM, 0, 0); in t_format_with_FieldPosition() 248 v.add(new FieldContainer(143, 145, Field.AM_PM)); in getDateVector4() 249 v.add(new FieldContainer(147, 149, Field.AM_PM)); in getDateVector4()
|
D | FieldPositionTest.java | 102 FieldPosition fpos4 = new FieldPosition(DateFormat.Field.AM_PM, 1); in test_equalsLjava_lang_Object()
|
D | MessageFormatTest.java | 601 format.format(objects, new StringBuffer(), new FieldPosition(DateFormat.Field.AM_PM)); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CalendarTest.java | 367 cal.set(Calendar.AM_PM, Calendar.AM); in test_setII() 373 cal.set(Calendar.AM_PM, Calendar.PM); in test_setII() 374 assertEquals("AM_PM not changed", Calendar.PM, cal.get(Calendar.AM_PM)); in test_setII() 376 cal.set(Calendar.AM_PM, Calendar.AM); in test_setII() 378 Calendar.AM, cal.get(Calendar.AM_PM)); in test_setII() 381 cal.set(Calendar.AM_PM, Calendar.PM); in test_setII() 383 Calendar.PM, cal.get(Calendar.AM_PM)); in test_setII() 389 int oldValue = cal.get(Calendar.AM_PM); in test_setII() 391 cal.set(Calendar.AM_PM, newValue); in test_setII() 392 newValue = cal.get(Calendar.AM_PM); in test_setII() [all …]
|
D | GregorianCalendarTest.java | 75 1, gc.get(Calendar.AM_PM)); in test_ConstructorIIIII() 104 1, gc.get(Calendar.AM_PM)); in test_ConstructorIIIIII() 230 gc1.add(Calendar.AM_PM, 2); in test_addII()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_MessageFormat.java | 61 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0, in t_format_with_FieldPosition() 105 v.add(new FieldContainer(27, 29, DateFormat.Field.AM_PM)); in getMessageVector1()
|
/libcore/luni/src/main/java/java/util/ |
D | GregorianCalendar.java | 423 case AM_PM: in add() 544 fields[AM_PM] = fields[HOUR_OF_DAY] > 11 ? 1 : 0; in fullFieldsCalc() 642 if (isSet[AM_PM] && fields[AM_PM] != AM && fields[AM_PM] != PM) { in computeTime() 666 hour = (fields[AM_PM] * 12) + fields[HOUR]; in computeTime() 1224 case AM_PM: in roll() 1233 } else if (field == AM_PM) { in roll()
|
D | Calendar.java | 601 public static final int AM_PM = 9; field in Calendar 1125 if (field > MONTH && field < AM_PM) { in set() 1131 if (field == AM_PM) { in set() 1306 case AM_PM: in getDisplayNameArray()
|
D | Formatter.java | 1941 result.append(localeData.amPm[calendar.get(Calendar.AM_PM)].toLowerCase(locale)); in appendT() 1950 result.append(localeData.amPm[calendar.get(Calendar.AM_PM)]); in appendT()
|
/libcore/luni/src/main/java/java/text/ |
D | DateFormat.java | 772 public static final Field AM_PM = new Field("am pm", Calendar.AM_PM); field in DateFormat.Field
|
D | SimpleDateFormat.java | 654 dateFormatField = Field.AM_PM; in append() 655 buffer.append(formatData.ampms[calendar.get(Calendar.AM_PM)]); in append() 928 return parseText(string, offset, formatData.ampms, Calendar.AM_PM); in parse()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 100 calendar.add(Calendar.AM_PM, 2); in testAddTwoHalfDaysOverDstForwardAdds23HoursAt0100()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 1761 objToSave = new DateFormat.Field[] { DateFormat.Field.AM_PM, in test_writeObject_DateFormat_Field()
|