Lines Matching refs:MONTH

50 		cal.set(Calendar.MONTH, Calendar.MARCH);
60 cal.set(Calendar.MONTH, Calendar.OCTOBER);
62 cal.set(Calendar.MONTH, Calendar.NOVEMBER);
64 assertTrue("Incorrect month: " + cal.get(Calendar.MONTH), cal
65 .get(Calendar.MONTH) == Calendar.NOVEMBER);
122 // WEEK_OF_YEAR has priority over MONTH/DATE
127 cal.set(Calendar.MONTH, Calendar.JANUARY);
133 // WEEK_OF_YEAR has priority over MONTH/DATE
137 cal.set(Calendar.MONTH, Calendar.JANUARY);
147 cal.set(Calendar.MONTH, Calendar.MARCH);
156 cal.set(Calendar.MONTH, Calendar.MARCH);
168 cal.set(Calendar.MONTH, Calendar.MARCH);
179 cal.set(Calendar.MONTH, Calendar.MARCH);
185 // WEEK_OF_MONTH has priority, MONTH not set
196 // WEEK_OF_YEAR has priority when MONTH set last and DAY_OF_WEEK set
202 cal.set(Calendar.MONTH, Calendar.JANUARY);
206 // Use MONTH/DATE when WEEK_OF_YEAR set but not DAY_OF_WEEK
211 cal.set(Calendar.MONTH, Calendar.MARCH);
215 // Use MONTH/DATE when DAY_OF_WEEK is not set
221 cal.set(Calendar.MONTH, Calendar.MARCH);
232 cal.set(Calendar.MONTH, Calendar.MARCH);
241 cal.set(Calendar.MONTH, Calendar.MARCH);
246 // DATE has priority when set last, MONTH not set
255 // DAY_OF_YEAR has priority when MONTH set last and DATE not set
259 cal.set(Calendar.MONTH, Calendar.JANUARY);
263 // DAY/MONTH has priority when DATE set after DAY_OF_YEAR
268 cal.set(Calendar.MONTH, Calendar.MARCH);
277 cal.set(Calendar.MONTH, Calendar.JANUARY);
317 cal.set(Calendar.MONTH, Calendar.MARCH);
331 // MONTH/DATE has priority when DAY_OF_WEEK_IN_MONTH set last but
336 cal.set(Calendar.MONTH, Calendar.MARCH);
341 // MONTH/DATE has priority when WEEK_OF_YEAR set last but DAY_OF_WEEK
346 cal.set(Calendar.MONTH, Calendar.MARCH);
351 // MONTH/DATE has priority when WEEK_OF_MONTH set last but DAY_OF_WEEK
356 cal.set(Calendar.MONTH, Calendar.MARCH);
366 cal.set(Calendar.MONTH, Calendar.MARCH);
407 && cal.get(Calendar.MONTH) == Calendar.NOVEMBER
470 cal.set(Calendar.MONTH, Calendar.JANUARY);
577 fields[1] = Calendar.MONTH;
712 calendar.roll(Calendar.MONTH, 1);
829 case Calendar.MONTH:
832 cal.set(Calendar.MONTH, month);
875 cal.getDisplayName(Calendar.MONTH, -1, Locale.US);
881 cal.getDisplayName(Calendar.MONTH, 3, Locale.US);
887 cal.getDisplayName(Calendar.MONTH, Calendar.SHORT, null);
899 cal.getDisplayName(Calendar.MONTH, -1, null);
906 cal.getDisplayName(Calendar.MONTH, Calendar.SHORT, Locale.US);
913 || field == Calendar.MONTH
926 assertNotNull(cal.getDisplayName(Calendar.MONTH, Calendar.SHORT,
930 cal.getDisplayName(Calendar.MONTH, Calendar.SHORT, Locale.US);
936 cal.getDisplayName(Calendar.MONTH, Calendar.ALL_STYLES, Locale.US);
973 case Calendar.MONTH:
1016 cal.getDisplayNames(Calendar.MONTH, -1, Locale.US);
1022 cal.getDisplayNames(Calendar.MONTH, 3, Locale.US);
1028 cal.getDisplayNames(Calendar.MONTH, Calendar.SHORT, null);
1040 cal.getDisplayNames(Calendar.MONTH, -1, null);
1046 cal.getDisplayNames(Calendar.MONTH, Calendar.SHORT, Locale.US);
1054 cal.getDisplayNames(Calendar.MONTH, Calendar.SHORT, Locale.US);