Lines Matching refs:sdf
72 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance();
77 if(sdf == NULL){
82 pat = sdf->toPattern(pat);
86 fmtd = sdf->format(today, fmtd, pos);
89 sdf->applyPattern("G yyyy DDD");
91 todayS = sdf->format(today, todayS, pos);
94 today = sdf->parse(todayS, status);
95 failure(status, "sdf->parse");
103 rt = sdf->format(sdf->parse(todayS, status), rt, pos);
104 failure(status, "sdf->parse");
114 delete sdf;
709 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status);
716 sdf->format(d, buf, fp);
717 //logln(sdf.format(d, buf, fp).toString());
724 delete sdf;
796 SimpleDateFormat *sdf = new SimpleDateFormat(status);
799 delete sdf;
804 sdf->applyPattern(pattern);
837 UDate d = sdf->parse(text, pos);
847 delete sdf;
861 SimpleDateFormat *sdf = new SimpleDateFormat(status);
864 delete sdf;
869 sdf->applyPattern(pattern);
875 UDate dt = sdf->parse(text, pp);
882 dt = sdf->parse(text, pp);
886 delete sdf;
1330 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status);
1337 delete sdf;
1343 sdf->adoptCalendar(cal);
1345 cal = sdf->getCalendar()->clone(); // sdf may have deleted calendar
1347 if(!cal || !sdf || U_FAILURE(status)) {
1377 ms2 = sdf->parse(test.data, status);
1391 sdf->format(ms, result);
1402 ms3 = sdf->parse(result, status);
1429 delete sdf;
1439 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status);
1443 delete sdf;
1452 sdf->adoptCalendar(cal);
1455 sdf->format(date, result);
1459 delete sdf;