Searched refs:sdf (Results 1 - 25 of 25) sorted by relevance

/openjdk7/jdk/test/sun/text/resources/Format/
H A DBug4395196.java44 SimpleDateFormat sdf = new SimpleDateFormat("",loc);
45 sdf.applyPattern("yyyy. M. d a h:mm");
46 if( !sdf.format(now).equals(df.format(now))){
48 System.out.println("error at " + sdf.format(now));
51 sdf.applyPattern("yyyy'\ub144' M'\uc6d4' d'\uc77c' '('EE')' a h:mm:ss");
52 if( !sdf.format(now).equals(df.format(now))){
54 System.out.println("error at " + sdf.format(now));
57 sdf.applyPattern("yyyy. M. d a h'\uc2dc' mm'\ubd84' ss'\ucd08'");
58 if( !sdf.format(now).equals(df.format(now))){
60 System.out.println("error at " + sdf
[all...]
H A DBug4762201.java44 SimpleDateFormat sdf = new SimpleDateFormat("",loc);
45 sdf.applyPattern("ah:mm"); // short time pattern
46 if( !sdf.format(now).equals(df.format(now))) result++;
48 sdf.applyPattern("H:mm:ss"); // medium time pattern
49 if( !sdf.format(now).equals(df.format(now))) result++;
51 sdf.applyPattern("ahh'\u65f6'mm'\u5206'ss'\u79d2'"); // long time pattern
52 if( !sdf.format(now).equals(df.format(now))) result++;
54 sdf.applyPattern("ahh'\u65f6'mm'\u5206'ss'\u79d2' z"); // full time pattern
55 if( !sdf.format(now).equals(df.format(now))) result++;
H A DBug4442855.java48 SimpleDateFormat sdf = new SimpleDateFormat("G", zhTWloc);
50 return Test(sdf.format(new Date()), "\u897f\u5143", "AD");
55 SimpleDateFormat sdf = new SimpleDateFormat("G", zhTWloc);
57 Calendar cdar = sdf.getCalendar();
59 return Test(sdf.format(cdar.getTime()), "\u897f\u5143\u524d", "BC");
/openjdk7/jdk/test/java/text/Format/DateFormat/
H A DBug7130335.java43 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS z", Locale.US);
44 sdf.setTimeZone(MOSCOW);
49 test(sdf, cal);
51 test(sdf, cal);
54 test(sdf, cal);
56 test(sdf, cal);
59 test(sdf, cal);
69 private static void test(SimpleDateFormat sdf, Calendar cal) throws Exception { argument
71 String f = sdf.format(d);
73 Date pd = sdf
[all...]
H A DISO8601ZoneTest.java150 SimpleDateFormat sdf = new SimpleDateFormat(fmt);
151 String s = sdf.format(TIMESTAMP);
157 Date d = sdf.parse(s);
165 d = sdf.parse(s + "123", pos);
178 SimpleDateFormat sdf = new SimpleDateFormat(fmt);
181 int fractionalHour = sdf.getTimeZone().getOffset(date.getTime());
184 String s = sdf.format(date);
185 Date pd = sdf.parse(s);
198 SimpleDateFormat sdf = new SimpleDateFormat(fmt);
200 sdf
[all...]
H A DBug4396385.java65 SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.US);
66 sdf.setLenient(false);
69 Date date = sdf.parse(src, pos);
H A DBug6609750.java59 SimpleDateFormat sdf = new SimpleDateFormat();
63 sdf.applyPattern(patterns[patternNo]);
64 String got = sdf.format(date);
H A DBug4823811.java481 SimpleDateFormat sdf = new SimpleDateFormat(pattern);
483 sdf.setNumberFormat(nf);
496 testDateFormatFormatting(sdf, pattern, datesEG[basePattern][i],
509 SimpleDateFormat sdf = new SimpleDateFormat(pattern);
511 sdf.setNumberFormat(nf);
524 testDateFormatFormatting(sdf, pattern, datesUS[basePattern][i],
529 private static void testDateFormatFormatting(SimpleDateFormat sdf, argument
535 String str = sdf.format(given);
567 SimpleDateFormat sdf = new SimpleDateFormat(pattern);
569 sdf
607 testDateFormatParsing(SimpleDateFormat sdf, String pattern, String given, GregorianCalendar expectedGC, String locale) argument
[all...]
H A DWeekDateTest.java142 SimpleDateFormat sdf = new SimpleDateFormat("Y-'W'ww-u");
143 sdf.setCalendar(jcal);
144 Date d = sdf.parse("21-W01-3"); // 2008-12-31 == H20-12-31
/openjdk7/jdk/test/java/util/PluggableLocale/providersrc/
H A DFooDateFormat.java33 private SimpleDateFormat sdf; field in class:FooDateFormat
36 sdf = new SimpleDateFormat(pattern, loc);
43 return sdf.format(date, toAppendTo, fieldPosition);
48 return sdf.parse(source, pos);
54 && sdf.equals(((FooDateFormat)other).sdf);
59 return sdf.hashCode();
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dvis_ThreeByteBgr.c38 mlib_d64 sda, sdb, sdc, sdd, sde, sdf; \
47 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_lo(sdc)); \
50 s_2 = vis_fpmerge(vis_read_lo(sdd), vis_read_hi(sdf)); \
51 s_1 = vis_fpmerge(vis_read_hi(sde), vis_read_lo(sdf)); \
H A Dvis_IntBgr.c243 mlib_d64 sde, sdf, sdg, sdh; \
252 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_lo(sdc)); \
254 sdh = vis_fpmerge(vis_read_lo(sdd), vis_read_hi(sdf)); \
255 sdi = vis_fpmerge(vis_read_hi(sde), vis_read_lo(sdf)); \
H A Dvis_IntRgb.c128 mlib_d64 sda, sdb, sdc, sdd, sde, sdf; \
137 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_lo(sdc)); \
140 s_2 = vis_fpmerge(vis_read_lo(sdd), vis_read_hi(sdf)); \
141 s_1 = vis_fpmerge(vis_read_hi(sde), vis_read_lo(sdf)); \
H A Dvis_IntRgbx.c219 mlib_d64 sda, sdb, sdc, sdd, sde, sdf; \
228 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_lo(sdc)); \
231 s_1 = vis_fpmerge(vis_read_lo(sdd), vis_read_hi(sdf)); \
232 s_0 = vis_fpmerge(vis_read_hi(sde), vis_read_lo(sdf)); \
H A Dvis_IntArgbPre.c541 mlib_d64 sda, sdb, sdc, sdd, sde, sdf; \
550 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_lo(sdc)); \
553 s_2 = vis_fpmerge(vis_read_lo(sdd), vis_read_hi(sdf)); \
554 s_1 = vis_fpmerge(vis_read_hi(sde), vis_read_lo(sdf)); \
H A Dvis_FourByteAbgr.c62 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_lo(sdc)); \
64 sdh = vis_fpmerge(vis_read_lo(sdd), vis_read_hi(sdf)); \
65 sdi = vis_fpmerge(vis_read_hi(sde), vis_read_lo(sdf)); \
509 mlib_d64 sde, sdf, sdg, sdh; local
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DDerOutputStream.java503 SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.US);
504 sdf.setTimeZone(tz);
505 byte[] time = (sdf.format(d)).getBytes("ISO-8859-1");
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnD/
H A DDnDSource.java184 public boolean isDataFlavorSupported(DataFlavor sdf) { argument
185 return df.equals(sdf);
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDInOut/
H A DDnDSource.java184 public boolean isDataFlavorSupported(DataFlavor sdf) { argument
185 return df.equals(sdf);
/openjdk7/jdk/test/java/awt/dnd/ImageDecoratedDnDNegative/
H A DDnDSource.java222 public boolean isDataFlavorSupported(DataFlavor sdf) { argument
223 return df.equals(sdf);
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageChannelInsert_34.c83 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_lo(sdc)); \
85 sdh = vis_fpmerge(vis_read_lo(sdd), vis_read_hi(sdf)); \
86 sdi = vis_fpmerge(vis_read_hi(sde), vis_read_lo(sdf)); \
136 mlib_d64 sde, sdf, sdg, sdh; local
168 mlib_d64 sde, sdf, sdg, sdh; local
208 mlib_d64 sde, sdf, sdg, sdh; local
661 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_lo(sdc)); \
663 sdh = vis_fpmerge(vis_read_lo(sdd), vis_read_hi(sdf)); \
664 sdi = vis_fpmerge(vis_read_hi(sde), vis_read_lo(sdf)); \
713 mlib_d64 sde, sdf, sd local
744 mlib_d64 sde, sdf, sdg, sdh; local
783 mlib_d64 sde, sdf, sdg, sdh; local
[all...]
H A Dmlib_v_ImageChannelExtract_1.c964 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_hi(sdd)); \
965 dd = vis_fpmerge(vis_read_hi(sde), vis_read_hi(sdf))
974 sdf = vis_fpmerge(vis_read_hi(sdb), vis_read_hi(sdd)); \
975 dd = vis_fpmerge(vis_read_lo(sde), vis_read_lo(sdf))
984 sdf = vis_fpmerge(vis_read_lo(sdb), vis_read_lo(sdd)); \
985 dd = vis_fpmerge(vis_read_hi(sde), vis_read_hi(sdf))
994 sdf = vis_fpmerge(vis_read_lo(sdb), vis_read_lo(sdd)); \
995 dd = vis_fpmerge(vis_read_lo(sde), vis_read_lo(sdf))
1005 mlib_d64 sda, sdb, sdc, sdd, sde, sdf; local
1070 mlib_d64 sda, sdb, sdc, sdd, sde, sdf; local
1156 mlib_d64 sde, sdf; local
[all...]
H A Dmlib_v_ImageChannelInsert_1.c1496 sdf = vis_fpmerge(vis_read_lo(sdb), vis_read_lo(sdb)); \
1500 dd3 = vis_fpmerge(vis_read_hi(sdf), vis_read_lo(sdf)); \
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/
H A DJ2DBench.java87 static final SimpleDateFormat sdf = field in class:J2DBench
425 writer.println("<b>Start : </b>" + sdf.format(loopStart) + "<br>");
448 System.out.println("-- Completed Loop " + nLoopCount + " at " + sdf.format(loopEnd) + " --");
451 writer.println("<b>End : </b>" + sdf.format(loopEnd) + "<br>");
/openjdk7/jdk/test/java/util/PluggableLocale/
H A Dfooprovider.jar ... .text.DateFormat { private java.text.SimpleDateFormat sdf public void " href="/source/s?defs=% ...

Completed in 80 milliseconds