/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronologyDisplayNameTest.java | 46 private final Chronology chronology; field in ChronologyDisplayNameTest 48 public ChronologyDisplayNameTest(Chronology chronology) { in ChronologyDisplayNameTest() argument 49 this.chronology = chronology; in ChronologyDisplayNameTest() 54 String displayName = chronology.getDisplayName(TextStyle.FULL, Locale.ENGLISH); in testDisplayName() 61 List<Era> eras = chronology.eras(); in testEras()
|
/libcore/luni/src/test/java/libcore/highmemorytest/java/time/format/ |
D | DateTimeFormatterTest.java | 86 for (Chronology chronology : Chronology.getAvailableChronologies()) { in test_format_allLocales_allChronologies() 91 .withChronology(chronology) in test_format_allLocales_allChronologies() 97 .withChronology(chronology) in test_format_allLocales_allChronologies() 103 .withChronology(chronology) in test_format_allLocales_allChronologies() 107 throw new RuntimeException("Chronology:" + chronology + in test_format_allLocales_allChronologies()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKChronoPrinterParser.java | 126 assertEquals(parsed.query(TemporalQueries.chronology()), expected); in test_parseValid_caseSensitive() 144 assertEquals(parsed.query(TemporalQueries.chronology()), expected); in test_parseValid_caseInsensitive()
|
D | TCKDateTimeParseResolver.java | 903 assertEquals(accessor.query(TemporalQueries.chronology()), IsoChronology.INSTANCE); in test_withChronology_noOverride() 913 assertEquals(accessor.query(TemporalQueries.chronology()), MinguoChronology.INSTANCE); in test_withChronology_override() 922 assertEquals(accessor.query(TemporalQueries.chronology()), ThaiBuddhistChronology.INSTANCE); in test_withChronology_parsedChronology_noOverride() 932 assertEquals(accessor.query(TemporalQueries.chronology()), ThaiBuddhistChronology.INSTANCE); in test_withChronology_parsedChronology_override() 993 assertEquals(accessor.query(TemporalQueries.chronology()), IsoChronology.INSTANCE); in test_fieldResolvesToChronoLocalDate_noOverrideChrono_matches() 1004 assertEquals(accessor.query(TemporalQueries.chronology()), MinguoChronology.INSTANCE); in test_fieldResolvesToChronoLocalDate_overrideChrono_matches() 1030 assertEquals(accessor.query(TemporalQueries.chronology()), IsoChronology.INSTANCE); in test_fieldResolvesToChronoLocalDateTime_noOverrideChrono_matches() 1041 assertEquals(accessor.query(TemporalQueries.chronology()), MinguoChronology.INSTANCE); in test_fieldResolvesToChronoLocalDateTime_overrideChrono_matches() 1067 assertEquals(accessor.query(TemporalQueries.chronology()), IsoChronology.INSTANCE); in test_fieldResolvesToChronoZonedDateTime_noOverrideChrono_matches() 1080 assertEquals(accessor.query(TemporalQueries.chronology()), MinguoChronology.INSTANCE); in test_fieldResolvesToChronoZonedDateTime_overrideChrono_matches()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestNumberParser.java | 181 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parse_fresh() 201 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parse_textField() 316 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parseSignsStrict() 426 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parseSignsLenient() 517 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parseDigitsLenient() 555 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parseDigitsAdjacentLenient()
|
D | TestCharLiteralParser.java | 114 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parse_success()
|
D | TestStringLiteralParser.java | 117 assertEquals(parsed.query(TemporalQueries.chronology()), null); in test_parse_success()
|
D | TestNonIsoFormatter.java | 192 Chronology cal = ta.query(TemporalQueries.chronology()); in test_chronoNames()
|
D | TestReducedParser.java | 467 parsed.query(TemporalQueries.chronology()), input)); in test_reducedWithLateChronoChange() 490 parsed.query(TemporalQueries.chronology()), input)); in test_reducedWithLateChronoChangeTwice()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahDate.java | 443 public HijrahDate withVariant(HijrahChronology chronology) { in withVariant() argument 444 if (chrono == chronology) { in withVariant() 448 int monthDays = chronology.getDayOfYear(prolepticYear, monthOfYear); in withVariant() 449 …return HijrahDate.of(chronology, prolepticYear, monthOfYear,(dayOfMonth > monthDays) ? monthDays :… in withVariant()
|
D | Chronology.java | 179 Chronology obj = temporal.query(TemporalQueries.chronology()); in from() 646 if (query == TemporalQueries.chronology()) { in getDisplayName()
|
D | ChronoLocalDate.java | 289 Chronology chrono = temporal.query(TemporalQueries.chronology()); in from() 512 } else if (query == TemporalQueries.chronology()) { in query()
|
D | ChronoLocalDateTime.java | 169 Chronology chrono = temporal.query(TemporalQueries.chronology()); in from() 341 } else if (query == TemporalQueries.chronology()) { in query()
|
D | ChronoZonedDateTime.java | 170 Chronology chrono = temporal.query(TemporalQueries.chronology()); in from() 490 } else if (query == TemporalQueries.chronology()) { in query()
|
D | ChronoPeriodImpl.java | 312 Chronology temporalChrono = temporal.query(TemporalQueries.chronology()); in validateChrono()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalAccessor.java | 310 || query == TemporalQueries.chronology() in query()
|
D | TemporalQueries.java | 206 public static TemporalQuery<Chronology> chronology() { in chronology() method in TemporalQueries
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimePrintContext.java | 132 Chronology temporalChrono = temporal.query(TemporalQueries.chronology()); in adjust() 210 if (query == TemporalQueries.chronology()) { in adjust()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Month.java | 564 if (query == TemporalQueries.chronology()) { in query()
|
D | MonthDay.java | 587 if (query == TemporalQueries.chronology()) { in query()
|
D | Year.java | 817 if (query == TemporalQueries.chronology()) { in query()
|
/libcore/ojluni/src/main/resources/ |
D | hijrah-config-umalqura.properties | 59 # Java chronology ID
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 145 Chronology chrono = ((TemporalAccessor)o).query(TemporalQueries.chronology()); in getClassName()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKIsoChronology.java | 112 if (query == TemporalQueries.chronology()) { in factory_from_TemporalAccessor_chronology() 135 if (query == TemporalQueries.chronology()) { in factory_from_TemporalAccessor_noChronology()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDayOfWeek.java | 219 {DayOfWeek.FRIDAY, TemporalQueries.chronology(), null}, in data_query()
|