Searched refs:MONTH_FIELD (Results 1 – 4 of 4) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | FieldPositionTest.java | 29 FieldPosition fpos = new FieldPosition(DateFormat.MONTH_FIELD); in test_ConstructorI() 31 DateFormat.MONTH_FIELD, fpos.getField()); in test_ConstructorI() 54 DateFormat.MONTH_FIELD); in test_ConstructorLjava_text_Format$FieldI() 58 DateFormat.MONTH_FIELD, fpos.getField()); in test_ConstructorLjava_text_Format$FieldI() 69 DateFormat.MONTH_FIELD); in test_ConstructorLjava_text_Format$FieldI() 73 DateFormat.MONTH_FIELD, fpos3.getField()); in test_ConstructorLjava_text_Format$FieldI()
|
D | SimpleDateFormatTest.java | 283 assertFormat(" M", cal, " 6", DateFormat.MONTH_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 285 DateFormat.MONTH_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 286 assertFormat(" MM", cal, " 06", DateFormat.MONTH_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 287 assertFormat(" MMM", cal, " Jun", DateFormat.MONTH_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 288 assertFormat(" MMMM", cal, " June", DateFormat.MONTH_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() 289 assertFormat(" MMMMM", cal, " J", DateFormat.MONTH_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
|
/libcore/luni/src/main/java/java/text/ |
D | DateFormat.java | 128 public static final int MONTH_FIELD = 2; field in DateFormat
|
D | SimpleDateFormat.java | 600 case MONTH_FIELD: // 'M' in append() 883 case MONTH_FIELD: // 'M' in parse()
|