Home | History | Annotate | Download | only in tests

Lines Matching refs:sdf

45         SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy);
46 sdf.format(cal, buf, fp);
57 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy);
58 sdf.parse(hmzmdyStr, cal, pp);
74 SimpleDateFormat sdf = new SimpleDateFormat();
76 assertEquals(jsdf.format(date), sdf.format(date));
83 SimpleDateFormat sdf = new SimpleDateFormat(mdy);
85 assertEquals(jsdf.format(date), sdf.format(date));
93 SimpleDateFormat sdf = new SimpleDateFormat(mdy, l);
95 assertEquals(jsdf.format(date), sdf.format(date));
103 SimpleDateFormat sdf = new SimpleDateFormat(mdy, l);
105 assertEquals(jsdf.format(date), sdf.format(date));
115 SimpleDateFormat sdf = new SimpleDateFormat(mdy, dfs);
117 assertEquals(jsdf.format(date), sdf.format(date));
124 SimpleDateFormat sdf = new SimpleDateFormat(md2);
125 sdf.set2DigitYearStart(date);
127 Date d = sdf.parse("Jan 15 04");
139 SimpleDateFormat sdf = new SimpleDateFormat(md2);
140 sdf.set2DigitYearStart(date);
141 assertEquals(date, sdf.get2DigitYearStart());
148 SimpleDateFormat sdf = new SimpleDateFormat(mdy);
149 assertEquals(mdy, sdf.toPattern());
158 SimpleDateFormat sdf = new SimpleDateFormat(mdy);
159 assertEquals(mdy, sdf.toLocalizedPattern());
167 SimpleDateFormat sdf = new SimpleDateFormat();
168 sdf.setTimeZone(tzc);
169 sdf.applyPattern(hmzmdy);
170 assertEquals(hmzmdyStr, sdf.format(date));
177 SimpleDateFormat sdf = new SimpleDateFormat();
178 sdf.setTimeZone(tzc);
179 sdf.applyLocalizedPattern(hmzmdy);
180 assertEquals(hmzmdyStr, sdf.format(date));
188 SimpleDateFormat sdf = new SimpleDateFormat(mdy, dfs);
189 assertEquals(dfs, sdf.getDateFormatSymbols());
197 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy);
198 sdf.setDateFormatSymbols(dfs);
200 assertEquals(-1, sdf.format(date).indexOf("Jan"));