/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 | 64 t_FormatWithField(2, format, objects, null, DateFormat.Field.AM_PM, 0, in t_format_with_FieldPosition() 108 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 | 604 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 | 91 1, gc.get(Calendar.AM_PM)); in test_ConstructorIIIII() 120 1, gc.get(Calendar.AM_PM)); in test_ConstructorIIIIII() 246 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/ojluni/annotations/hiddenapi/java/text/ |
D | DateFormat.java | 250 public static final java.text.DateFormat.Field AM_PM; field in DateFormat.Field 253 AM_PM = null;
|
/libcore/ojluni/annotations/mmodule/java/text/ |
D | DateFormat.annotated.java | 176 public static final java.text.DateFormat.Field AM_PM; field in DateFormat.Field 177 static { AM_PM = null; }
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormat.java | 1031 public final static Field AM_PM = new field in DateFormat.Field 1032 Field("am pm", Calendar.AM_PM);
|
D | SimpleDateFormat.java | 1146 Calendar.AM_PM, 1159 Calendar.AM_PM, 1160 Calendar.AM_PM 1212 Field.AM_PM, 1225 Field.AM_PM, 1226 Field.AM_PM 2466 if ((index = matchString(text, start, Calendar.AM_PM, in subParse()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 498 public final static int AM_PM = 9; field in Calendar 1010 final static int AM_PM_MASK = (1 << AM_PM); 2246 case AM_PM: in getFieldStrings() 2535 int hourStamp = aggregateStamp(stamp[HOUR], stamp[AM_PM]); in selectFields() 2540 bestStamp = Math.max(stamp[HOUR], stamp[AM_PM]); in selectFields() 2549 if (stamp[AM_PM] != UNSET) { in selectFields()
|
D | GregorianCalendar.java | 712 this.internalSet(AM_PM, PM); in GregorianCalendar() 1045 case AM_PM: 1186 case AM_PM: in roll() 1219 assert (internalGet(AM_PM) == PM); in roll() 1229 internalSet(AM_PM, hourOfDay / 12); in roll() 2457 internalSet(AM_PM, hours / 12); // Assume AM == 0 in computeFields() 2466 internalSet(AM_PM, AM); in computeFields() 2703 if (isFieldSet(fieldMask, AM_PM)) { in computeTime() 2704 timeOfDay += 12 * internalGet(AM_PM); in computeTime()
|
D | JapaneseImperialCalendar.java | 479 case AM_PM: in add() 576 case AM_PM: in roll() 608 assert (internalGet(AM_PM) == PM); in roll() 618 internalSet(AM_PM, hourOfDay / 12); in roll() 1669 internalSet(AM_PM, hours / 12); // Assume AM == 0 in computeFields() 1678 internalSet(AM_PM, AM); in computeFields() 1898 if (isFieldSet(fieldMask, AM_PM)) { in computeTime() 1899 timeOfDay += 12 * internalGet(AM_PM); in computeTime()
|
D | Formatter.java | 3995 case DateTime.AM_PM: { // 'p' (am or pm) 4002 String s = ampm[t.get(Calendar.AM_PM)]; 4125 print(tsb, t, DateTime.AM_PM, l); 4220 case DateTime.AM_PM: { // 'p' (am or pm) 4358 print(tsb, t, DateTime.AM_PM, l); 4718 static final char AM_PM = 'p'; // (am or pm) 4766 case AM_PM:
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 195 fieldIndex = Calendar.AM_PM; in getText() 264 fieldIndex = Calendar.AM_PM; in getTextIterator() 419 "gregory", Calendar.AM_PM, textStyle.toCalendarStyle(), locale); in createStore()
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | DateFormat.annotated.java | 171 @libcore.util.NonNull public static final java.text.DateFormat.Field AM_PM; field in DateFormat.Field 172 static { AM_PM = null; }
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 285 case Calendar.AM_PM: in getNames()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 166 public static final int AM_PM = 9; // 0x9 field in Calendar
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 103 calendar.add(Calendar.AM_PM, 2); in testAddTwoHalfDaysOverDstForwardAdds23HoursAt0100()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 411 public static final int AM_PM = 9; // 0x9 field in Calendar
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 1712 objToSave = new DateFormat.Field[] { DateFormat.Field.AM_PM, in test_writeObject_DateFormat_Field()
|
/libcore/api/ |
D | current.txt | 10277 field @NonNull public static final java.text.DateFormat.Field AM_PM; 12517 field public static final int AM_PM = 9; // 0x9
|