Lines Matching refs:got
111 String expected, got;
115 got = sdf.format(firstDayOfEra);
117 if (!expected.equals(got)) {
118 System.err.printf("GGGG y-MM-dd: got=\"%s\", expected=\"%s\"%n", got, expected);
124 got = sdf.format(firstDayOfEra);
126 if (!expected.equals(got)) {
127 System.err.printf("G y-MM-dd: got=\"%s\", expected=\"%s\"%n", got, expected);
135 System.err.printf("Gregorian year: got=%d, expected=%d%n", y, year);
141 got = jdate.toString();
143 if (!expected.equals(got)) {
144 System.err.printf("JapaneseDate: got=\"%s\", expected=\"%s\"%n", got, expected);
148 got = jera.getDisplayName(TextStyle.FULL, Locale.US);
149 if (!NEW_ERA_NAME.equals(got)) {
150 System.err.printf("JapaneseEra (FULL): got=\"%s\", expected=\"%s\"%n", got, NEW_ERA_NAME);
153 got = jera.getDisplayName(TextStyle.SHORT, Locale.US);
154 if (!NEW_ERA_NAME.equals(got)) {
155 System.err.printf("JapaneseEra (SHORT): got=\"%s\", expected=\"%s\"%n", got, NEW_ERA_NAME);
158 got = jera.getDisplayName(TextStyle.NARROW, Locale.US);
159 if (!NEW_ERA_ABBR.equals(got)) {
160 System.err.printf("JapaneseEra (NARROW): got=\"%s\", expected=\"%s\"%n", got, NEW_ERA_ABBR);
163 got = jera.getDisplayName(TextStyle.NARROW_STANDALONE, Locale.US);
164 if (!NEW_ERA_ABBR.equals(got)) {
165 System.err.printf("JapaneseEra (NARROW_STANDALONE): got=\"%s\", expected=\"%s\"%n", got, NEW_ERA_ABBR);
170 got = DateTimeFormatter
176 if (!expected.equals(got)) {
177 System.err.printf("java.time formatter full/short/narrow names: got=\"%s\", expected=\"%s\"%n", got, expected);