Home | History | Annotate | Download | only in calendar

Lines Matching defs:fmt

114             DateFormat fmt = cal.getDateTimeFormat(DateFormat.FULL, DateFormat.FULL, Locale.ENGLISH);
121 logln("date: " + fmt.format(cal.getTime()));
123 logln("date: " + fmt.format(cal.getTime()));
183 SimpleDateFormat fmt = new SimpleDateFormat("y", loc);
189 aDate = fmt.parse(samplestr);
194 fmt.parse(samplestr, cal2, pp);
217 SimpleDateFormat fmt = (SimpleDateFormat)c.getDateTimeFormat(1,1,new ULocale("en_US@calendar=japanese"));
218 fmt.applyPattern("G y");
219 logln("fmt's locale = " + fmt.getLocale(ULocale.ACTUAL_LOCALE));
220 //SimpleDateFormat fmt = new SimpleDateFormat("G y", new Locale("en_US@calendar=japanese"));
231 str = fmt.format(aDate);
239 otherDate = fmt.parse(expected);
243 Date dd = fmt.parse(expected);
244 str3 = fmt.format(otherDate);