Lines Matching refs:sdf
74 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance();
79 if(sdf == NULL){
84 pat = sdf->toPattern(pat);
88 fmtd = sdf->format(today, fmtd, pos);
91 sdf->applyPattern("G yyyy DDD");
93 todayS = sdf->format(today, todayS, pos);
96 today = sdf->parse(todayS, status);
97 failure(status, "sdf->parse");
105 rt = sdf->format(sdf->parse(todayS, status), rt, pos);
106 failure(status, "sdf->parse");
116 delete sdf;
713 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status);
720 sdf->format(d, buf, fp);
721 //logln(sdf.format(d, buf, fp).toString());
728 delete sdf;
800 SimpleDateFormat *sdf = new SimpleDateFormat(status);
803 delete sdf;
808 sdf->applyPattern(pattern);
841 UDate d = sdf->parse(text, pos);
851 delete sdf;
865 SimpleDateFormat *sdf = new SimpleDateFormat(status);
868 delete sdf;
873 sdf->applyPattern(pattern);
879 UDate dt = sdf->parse(text, pp);
886 dt = sdf->parse(text, pp);
890 delete sdf;
1334 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status);
1341 delete sdf;
1347 sdf->adoptCalendar(cal);
1349 cal = sdf->getCalendar()->clone(); // sdf may have deleted calendar
1351 if(!cal || !sdf || U_FAILURE(status)) {
1381 ms2 = sdf->parse(test.data, status);
1395 sdf->format(ms, result);
1406 ms3 = sdf->parse(result, status);
1433 delete sdf;
1443 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status);
1447 delete sdf;
1456 sdf->adoptCalendar(cal);
1459 sdf->format(date, result);
1463 delete sdf;