/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKJapaneseChronology.java | 86 import java.time.chrono.JapaneseChronology; 127 Chronology c = JapaneseChronology.INSTANCE; in test_chrono_byName() 142 Assert.assertEquals(test, JapaneseChronology.INSTANCE); in test_chrono_byLocale_fullTag_japaneseCalendarFromJapan() 149 Assert.assertEquals(test, JapaneseChronology.INSTANCE); in test_chrono_byLocale_fullTag_japaneseCalendarFromElsewhere() 163 Assert.assertEquals(test, JapaneseChronology.INSTANCE); in test_chrono_byLocale_oldJP_variant() 197 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.date(era, yoe, moy, dom); in test_createEymd() 205 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.dateYearDay(era, yoe, doy); in test_createEyd() 222 assertEquals(JapaneseChronology.INSTANCE.date(iso), test); in test_createByEra_chronologyTemporalFactory() 265 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.date(y, moy, dom); in test_createYmd() 273 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.dateYearDay(y, doy); in test_createYd() [all …]
|
D | TCKChronology.java | 90 import java.time.chrono.JapaneseChronology; 217 {JapaneseChronology.INSTANCE, "japanese"}, in data_CalendarType() 268 assertEquals(chrono.dateNow(), JapaneseChronology.INSTANCE.dateNow()); in test_JapaneseChronology_dateNow() 269 … assertEquals(chrono.dateNow(zoneId_paris), JapaneseChronology.INSTANCE.dateNow(zoneId_paris)); in test_JapaneseChronology_dateNow() 270 assertEquals(chrono.dateNow(clock), JapaneseChronology.INSTANCE.dateNow(clock)); in test_JapaneseChronology_dateNow() 319 assertEquals(date1, JapaneseChronology.INSTANCE.dateYearDay(JapaneseEra.HEISEI, 8, 60)); in test_JapaneseChronology_dateYearDay() 320 assertEquals(date2, JapaneseChronology.INSTANCE.dateYearDay(JapaneseEra.HEISEI, 8, 60)); in test_JapaneseChronology_dateYearDay() 365 {JapaneseChronology.INSTANCE, 1873, 9, 7, 1, 2, 2, OFFSET_P0100}, in data_epochSecond() 366 {JapaneseChronology.INSTANCE, 1928, 2, 28, 1, 2, 2, OFFSET_M0100}, in data_epochSecond() 367 {JapaneseChronology.INSTANCE, 1989, 1, 8, 1, 2, 2, OFFSET_P0100}, in data_epochSecond() [all …]
|
D | TCKJapaneseEra.java | 65 import java.time.chrono.JapaneseChronology; 116 List<Era> eraList = JapaneseChronology.INSTANCE.eras(); in test_values() 143 JapaneseChronology.INSTANCE.eraOf(era); in test_outofrange()
|
D | TCKChronoPeriod.java | 77 import java.time.chrono.JapaneseChronology; 97 {JapaneseChronology.INSTANCE}, in data_of_calendars()
|
D | TCKChronoLocalDate.java | 75 import java.time.chrono.JapaneseChronology; 108 {JapaneseChronology.INSTANCE}, in data_of_calendars()
|
D | TCKChronoLocalDateTime.java | 76 import java.time.chrono.JapaneseChronology; 108 {JapaneseChronology.INSTANCE}, in data_of_calendars()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatterBuilderWithLocale.java | 71 import java.time.chrono.JapaneseChronology; 131 {JapaneseChronology.INSTANCE.date(JapaneseEra.HEISEI, 1, 1, 8), Locale.ENGLISH}, in data_mapTextLookup() 178 …{FormatStyle.FULL, FormatStyle.FULL, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u670… in localizedDateTimePatterns() 179 …{FormatStyle.LONG, FormatStyle.LONG, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u670… in localizedDateTimePatterns() 180 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\… in localizedDateTimePatterns() 181 …{FormatStyle.SHORT, FormatStyle.SHORT, JapaneseChronology.INSTANCE, Locale.JAPANESE, "GGGGGy/M/d H… in localizedDateTimePatterns() 182 …{FormatStyle.FULL, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5EEEE… in localizedDateTimePatterns() 183 … {FormatStyle.LONG, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5"}, in localizedDateTimePatterns() 184 …{FormatStyle.MEDIUM, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5"}, in localizedDateTimePatterns() 185 {FormatStyle.SHORT, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "GGGGGy/M/d"}, in localizedDateTimePatterns() [all …]
|
D | TestTextPrinterWithLocale.java | 78 import java.time.chrono.JapaneseChronology; 160 getFormatter(field, style).withChronology(JapaneseChronology.INSTANCE).formatTo(ld, buf); in test_formatJapaneseEra()
|
D | TestNonIsoFormatter.java | 45 import java.time.chrono.JapaneseChronology; 72 private static final Chronology JAPANESE = JapaneseChronology.INSTANCE;
|
D | TestReducedParser.java | 78 import java.time.chrono.JapaneseChronology; 399 {JapaneseChronology.INSTANCE.date(baseYear)}, in provider_reducedWithChrono() 400 {JapaneseChronology.INSTANCE.date(baseYear).plus(1, YEARS)}, in provider_reducedWithChrono() 401 {JapaneseChronology.INSTANCE.date(baseYear).plus(99, YEARS)}, in provider_reducedWithChrono()
|
D | TestUnicodeExtension.java | 46 import java.time.chrono.JapaneseChronology; 69 private static final Chronology JAPANESE = JapaneseChronology.INSTANCE;
|
D | TestTextParserWithLocale.java | 70 import java.time.chrono.JapaneseChronology;
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | JapaneseChronologyTest.java | 31 import java.time.chrono.JapaneseChronology; 52 ChronoZonedDateTime<JapaneseDate> result = JapaneseChronology.INSTANCE in test_zonedDateTime() 61 JapaneseChronology.INSTANCE.zonedDateTime(null, ZoneOffset.UTC); in test_zonedDateTime_nullInstant() 66 JapaneseChronology.INSTANCE.zonedDateTime(Instant.EPOCH, null); in test_zonedDateTime_nullZone() 71 assertSame(JapaneseChronology.INSTANCE, JapaneseDate.now().getChronology()); in test_JapaneseDate_getChronology() 124 .withChronology(JapaneseChronology.INSTANCE); in test_JapaneseEras_dateTimeFormatter() 143 JapaneseDate heiseiDate = JapaneseChronology.INSTANCE.date(heisei); in test_JapaneseEras_calendarsDotProperties() 144 JapaneseDate reiwaDate = JapaneseChronology.INSTANCE.date(reiwa); in test_JapaneseEras_calendarsDotProperties() 152 JapaneseDate epoch = JapaneseChronology.INSTANCE.dateEpochDay(0); in dateEpochDay() 153 JapaneseDate today = JapaneseChronology.INSTANCE.dateEpochDay(18768); in dateEpochDay() [all …]
|
D | JapaneseDateTest.java | 32 import java.time.chrono.JapaneseChronology; 120 date.minus(JapaneseChronology.INSTANCE.period(1, 1, 1))); in minus_japanesePeriod() 128 date.minus(JapaneseChronology.INSTANCE.period(-1, -3, -5))); in minus_japanesePeriod_withNegative()
|
D | ChronoZonedDateTimeTest.java | 34 import java.time.chrono.JapaneseChronology; 72 JapaneseChronology chrono = JapaneseChronology.INSTANCE; in testFormat()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | JapaneseDate.java | 223 LocalGregorianCalendar.Date jdate = JapaneseChronology.JCAL.newCalendarDate(null); in of() 225 if (!JapaneseChronology.JCAL.validate(jdate)) { in of() 281 LocalGregorianCalendar.Date jdate = JapaneseChronology.JCAL.newCalendarDate(null); in ofYearDay() 288 JapaneseChronology.JCAL.normalize(jdate); in ofYearDay() 315 return JapaneseChronology.INSTANCE.date(temporal); in from() 361 public JapaneseChronology getChronology() { in getChronology() 362 return JapaneseChronology.INSTANCE; in getChronology() 393 Calendar jcal = JapaneseChronology.createCalendar(); in lengthOfYear() 449 Calendar jcal = JapaneseChronology.createCalendar(); in range() 482 Calendar jcal = JapaneseChronology.createCalendar(); in getLong() [all …]
|
D | JapaneseChronology.java | 123 public final class JapaneseChronology extends AbstractChronology implements Serializable { class 140 public static final JapaneseChronology INSTANCE = new JapaneseChronology(); 152 private JapaneseChronology() { in JapaneseChronology() method in JapaneseChronology 364 if (JapaneseChronology.JCAL.validate(jdate)) { in prolepticYear()
|
D | JapaneseEra.java | 176 ERA_CONFIG = JapaneseChronology.JCAL.getEras(); 306 .withChronology(JapaneseChronology.INSTANCE) in getDisplayName() 404 return JapaneseChronology.INSTANCE.range(ERA); in range()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKChronologySerialization.java | 65 import java.time.chrono.JapaneseChronology; 87 {JapaneseChronology.INSTANCE}, in data_of_calendars() 122 {JapaneseChronology.class}, in invalid_serial_classes()
|
D | TCKChronoLocalDateTimeSerialization.java | 68 import java.time.chrono.JapaneseChronology; 88 {JapaneseChronology.INSTANCE}, in data_of_calendars()
|
D | TCKChronoZonedDateTimeSerialization.java | 66 import java.time.chrono.JapaneseChronology; 87 {JapaneseChronology.INSTANCE}, in data_of_calendars()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKChronoPrinterParser.java | 67 import java.time.chrono.JapaneseChronology; 112 {"Japanese", JapaneseChronology.INSTANCE}, in data_parseValid() 116 {"JapaneseXXX", JapaneseChronology.INSTANCE}, in data_parseValid()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestJapaneseChronoImpl.java | 67 import java.time.chrono.JapaneseChronology; 108 JapaneseDate jDate = JapaneseChronology.INSTANCE.date(isoStartDate); in test_JapaneseChrono_vsCalendar() 137 JapaneseDate jd = JapaneseChronology.INSTANCE.dateYearDay(era, year, 1); in test_dayOfYearVsCalendar()
|
D | TestJapaneseChronology.java | 44 private static final JapaneseChronology JAPANESE = JapaneseChronology.INSTANCE;
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 76 import java.time.chrono.JapaneseChronology; 179 if (chrono == JapaneseChronology.INSTANCE) { in getText() 284 if (chrono == JapaneseChronology.INSTANCE) { in getTextIterator()
|