Lines Matching refs:dateFormat
146 DateFormat dateFormat = DateFormat.getDateInstance();
147 dateFormat.setCalendar(cal); // Make sure you do this -- same reason as above
148 ((SimpleDateFormat)dateFormat).applyPattern("MMM d, yyyy G");
155 int y = test(m, cal, dateFormat);
166 int y = test(m, cal, dateFormat);
174 test(EARLIEST_SUPPORTED_MILLIS, cal, dateFormat);
175 test(EARLIEST_SUPPORTED_MILLIS-1, cal, dateFormat);
178 test(Long.MIN_VALUE + ONE_DAY, cal, dateFormat);
183 ((SimpleDateFormat)dateFormat).applyPattern("H:mm MMM d, yyyy G");
193 dateFormat.format(cal.getTime()));
201 dateFormat.format(cal.getTime()));