Lines Matching defs:style
54 private static void test(int style) {
55 DateFormat df_th = DateFormat.getDateTimeInstance(style, style, th);
56 DateFormat df_th_TH = DateFormat.getDateTimeInstance(style, style, th_TH);
62 System.err.println("Error: Pattern for th locale should be the same as pattern for th_TH locale. (" + stylePattern[style] + ")");
69 if (!expected_th[style].equals(str_th)) {
71 System.err.println("Error: Formatted date in th locale is incorrect in " + stylePattern[style] + " pattern.");
72 System.err.println("\tExpected: " + expected_th[style]);
77 if (!expected_th_TH[style].equals(str_th_TH)) {
79 System.err.println("Error: Formatted date in th_TH locale is incorrect in " + stylePattern[style] + " pattern.");
80 System.err.println("\tExpected: " + expected_th_TH[style]);