Home
last modified time | relevance | path

Searched refs:JapaneseChronology (Results 1 – 25 of 25) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseChronology.java86 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()
199 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.date(era, yoe, moy, dom); in test_createEymd()
207 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.dateYearDay(era, yoe, doy); in test_createEyd()
224 assertEquals(JapaneseChronology.INSTANCE.date(iso), test); in test_createByEra_chronologyTemporalFactory()
267 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.date(y, moy, dom); in test_createYmd()
275 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.dateYearDay(y, doy); in test_createYd()
[all …]
DTCKChronology.java80 import java.time.chrono.JapaneseChronology;
197 {JapaneseChronology.INSTANCE, "japanese"}, in data_CalendarType()
248 assertEquals(chrono.dateNow(), JapaneseChronology.INSTANCE.dateNow()); in test_JapaneseChronology_dateNow()
249 … assertEquals(chrono.dateNow(zoneId_paris), JapaneseChronology.INSTANCE.dateNow(zoneId_paris)); in test_JapaneseChronology_dateNow()
250 assertEquals(chrono.dateNow(clock), JapaneseChronology.INSTANCE.dateNow(clock)); in test_JapaneseChronology_dateNow()
299 assertEquals(date1, JapaneseChronology.INSTANCE.dateYearDay(JapaneseEra.HEISEI, 8, 60)); in test_JapaneseChronology_dateYearDay()
300 assertEquals(date2, JapaneseChronology.INSTANCE.dateYearDay(JapaneseEra.HEISEI, 8, 60)); in test_JapaneseChronology_dateYearDay()
DTCKJapaneseEra.java64 import java.time.chrono.JapaneseChronology;
102 List<Era> eraList = JapaneseChronology.INSTANCE.eras(); in test_values()
DTCKChronoPeriod.java77 import java.time.chrono.JapaneseChronology;
96 {JapaneseChronology.INSTANCE}, in data_of_calendars()
DTCKChronoLocalDate.java75 import java.time.chrono.JapaneseChronology;
108 {JapaneseChronology.INSTANCE}, in data_of_calendars()
DTCKChronoLocalDateTime.java76 import java.time.chrono.JapaneseChronology;
108 {JapaneseChronology.INSTANCE}, in data_of_calendars()
DTCKChronoZonedDateTime.java77 import java.time.chrono.JapaneseChronology;
109 {JapaneseChronology.INSTANCE}, in data_of_calendars()
/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java28 import java.time.chrono.JapaneseChronology;
49 ChronoZonedDateTime<JapaneseDate> result = JapaneseChronology.INSTANCE in test_zonedDateTime()
58 JapaneseChronology.INSTANCE.zonedDateTime(null, ZoneOffset.UTC); in test_zonedDateTime_nullInstant()
63 JapaneseChronology.INSTANCE.zonedDateTime(Instant.EPOCH, null); in test_zonedDateTime_nullZone()
68 assertSame(JapaneseChronology.INSTANCE, JapaneseDate.now().getChronology()); in test_JapaneseDate_getChronology()
121 .withChronology(JapaneseChronology.INSTANCE); in test_JapaneseEras_dateTimeFormatter()
140 JapaneseDate heiseiDate = JapaneseChronology.INSTANCE.date(heisei); in test_JapaneseEras_calendarsDotProperties()
141 JapaneseDate reiwaDate = JapaneseChronology.INSTANCE.date(reiwa); in test_JapaneseEras_calendarsDotProperties()
/libcore/ojluni/src/main/java/java/time/chrono/
DJapaneseDate.java222 LocalGregorianCalendar.Date jdate = JapaneseChronology.JCAL.newCalendarDate(null); in of()
224 if (!JapaneseChronology.JCAL.validate(jdate)) { in of()
280 LocalGregorianCalendar.Date jdate = JapaneseChronology.JCAL.newCalendarDate(null); in ofYearDay()
287 JapaneseChronology.JCAL.normalize(jdate); in ofYearDay()
314 return JapaneseChronology.INSTANCE.date(temporal); in from()
360 public JapaneseChronology getChronology() { in getChronology()
361 return JapaneseChronology.INSTANCE; in getChronology()
392 Calendar jcal = JapaneseChronology.createCalendar(); in lengthOfYear()
452 Calendar jcal = JapaneseChronology.createCalendar(); in range()
485 Calendar jcal = JapaneseChronology.createCalendar(); in getLong()
[all …]
DJapaneseChronology.java124 public final class JapaneseChronology extends AbstractChronology implements Serializable { class
141 public static final JapaneseChronology INSTANCE = new JapaneseChronology();
152 private JapaneseChronology() { in JapaneseChronology() method in JapaneseChronology
364 if (JapaneseChronology.JCAL.validate(jdate)) { in prolepticYear()
DJapaneseEra.java174 ERA_CONFIG = JapaneseChronology.JCAL.getEras();
299 .withChronology(JapaneseChronology.INSTANCE) in getDisplayName()
397 return JapaneseChronology.INSTANCE.range(ERA); in range()
DAbstractChronology.java221 registerChrono(JapaneseChronology.INSTANCE); in initCache()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKChronologySerialization.java65 import java.time.chrono.JapaneseChronology;
87 {JapaneseChronology.INSTANCE}, in data_of_calendars()
122 {JapaneseChronology.class}, in invalid_serial_classes()
DTCKChronoLocalDateTimeSerialization.java68 import java.time.chrono.JapaneseChronology;
88 {JapaneseChronology.INSTANCE}, in data_of_calendars()
DTCKChronoZonedDateTimeSerialization.java66 import java.time.chrono.JapaneseChronology;
87 {JapaneseChronology.INSTANCE}, in data_of_calendars()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKChronoPrinterParser.java67 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/
DTestJapaneseChronoImpl.java65 import java.time.chrono.JapaneseChronology;
105 JapaneseDate jDate = JapaneseChronology.INSTANCE.date(isoStartDate); in test_JapaneseChrono_vsCalendar()
134 JapaneseDate jd = JapaneseChronology.INSTANCE.dateYearDay(era, year, 1); in test_dayOfYearVsCalendar()
DTestJapaneseChronology.java44 private static final JapaneseChronology JAPANESE = JapaneseChronology.INSTANCE;
DTestUmmAlQuraChronology.java53 import java.time.chrono.JapaneseChronology;
788 assertEquals(JapaneseChronology.INSTANCE.date(hijrah).toString(), japanese); in test_hijrahToJapanese()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatterBuilder.java76 import java.time.chrono.JapaneseChronology;
936 …{FormatStyle.FULL, FormatStyle.FULL, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u670… in localizedDateTimePatterns()
937 …{FormatStyle.LONG, FormatStyle.LONG, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u670… in localizedDateTimePatterns()
938 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\… in localizedDateTimePatterns()
939 …{FormatStyle.SHORT, FormatStyle.SHORT, JapaneseChronology.INSTANCE, Locale.JAPANESE, "GGGGGy/M/d H… in localizedDateTimePatterns()
940 …{FormatStyle.FULL, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5EEEE… in localizedDateTimePatterns()
941 … {FormatStyle.LONG, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5"}, in localizedDateTimePatterns()
942 …{FormatStyle.MEDIUM, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5"}, in localizedDateTimePatterns()
943 {FormatStyle.SHORT, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "GGGGGy/M/d"}, in localizedDateTimePatterns()
944 …{null, FormatStyle.FULL, JapaneseChronology.INSTANCE, Locale.JAPANESE, "H\u6642mm\u5206ss\u79d2 zz… in localizedDateTimePatterns()
[all …]
DTestNonIsoFormatter.java39 import java.time.chrono.JapaneseChronology;
66 private static final Chronology JAPANESE = JapaneseChronology.INSTANCE;
DTestReducedParser.java78 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()
DTestTextPrinter.java72 import java.time.chrono.JapaneseChronology;
262 getFormatter(field, style).withChronology(JapaneseChronology.INSTANCE).formatTo(ld, buf); in test_formatJapaneseEra()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java75 import java.time.chrono.JapaneseChronology;
175 if (chrono == JapaneseChronology.INSTANCE) { in getText()
280 if (chrono == JapaneseChronology.INSTANCE) { in getTextIterator()
/libcore/
Dopenjdk_java_files.bp788 "ojluni/src/main/java/java/time/chrono/JapaneseChronology.java",