/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoPeriod.java | 105 public void test_serialization(Chronology chrono) throws Exception { in test_serialization() 119 public void test_get(Chronology chrono) { in test_get() 127 public void test_get_unsupported(Chronology chrono) { in test_get_unsupported() 133 public void test_getUnits(Chronology chrono) { in test_getUnits() 142 public void test_getChronology(Chronology chrono) { in test_getChronology() 144 assertEquals(period.getChronology(), chrono); in test_getChronology() local 148 public void test_isZero_isNegative(Chronology chrono) { in test_isZero_isNegative() 164 public void test_plus(Chronology chrono) { in test_plus() 172 public void test_plus_wrongChrono(Chronology chrono) { in test_plus_wrongChrono() 182 public void test_minus(Chronology chrono) { in test_minus() [all …]
|
D | TCKChronology.java | 116 Chronology chrono = Chronology.of(chronoId); in test_getters() local 124 Chronology chrono = Chronology.of(chronoId); in test_required_calendars() local 162 Chronology chrono = Chronology.of(chronoId); in test_getDisplayName() local 171 … Chronology chrono = Chronology.of(name); // a chronology. In practice this is rarely hardcoded in test_epoch() local 182 Chronology chrono = Chronology.of(name); in test_dateEpochDay() local 204 public void test_getCalendarType(Chronology chrono, String calendarType) { in test_getCalendarType() 210 public void test_lookupLocale(Chronology chrono, String calendarType) { in test_lookupLocale() 214 assertEquals(Chronology.ofLocale(locale), chrono); in test_lookupLocale() local 225 Chronology chrono = Chronology.of("Minguo"); in test_MinguoChronology_dateNow() local 236 Chronology chrono = Chronology.of("ISO"); in test_IsoChronology_dateNow() local [all …]
|
D | TCKChronoLocalDateTime.java | 114 public void test_badWithAdjusterChrono(Chronology chrono) { in test_badWithAdjusterChrono() 138 public void test_badPlusAdjusterChrono(Chronology chrono) { in test_badPlusAdjusterChrono() 162 public void test_badMinusAdjusterChrono(Chronology chrono) { in test_badMinusAdjusterChrono() 186 public void test_badPlusTemporalUnitChrono(Chronology chrono) { in test_badPlusTemporalUnitChrono() 210 public void test_badMinusTemporalUnitChrono(Chronology chrono) { in test_badMinusTemporalUnitChrono() 234 public void test_badTemporalFieldChrono(Chronology chrono) { in test_badTemporalFieldChrono() 261 public void test_datetime_comparisons(Chronology chrono) { in test_datetime_comparisons() 322 public void test_from_TemporalAccessor(Chronology chrono) { in test_from_TemporalAccessor() 348 public void test_getChronology(Chronology chrono) { in test_getChronology() 350 assertEquals(test.getChronology(), chrono); in test_getChronology() local
|
D | TCKChronoZonedDateTime.java | 116 public void test_badWithAdjusterChrono(Chronology chrono) { in test_badWithAdjusterChrono() 139 public void test_badPlusAdjusterChrono(Chronology chrono) { in test_badPlusAdjusterChrono() 163 public void test_badMinusAdjusterChrono(Chronology chrono) { in test_badMinusAdjusterChrono() 187 public void test_badPlusTemporalUnitChrono(Chronology chrono) { in test_badPlusTemporalUnitChrono() 211 public void test_badMinusTemporalUnitChrono(Chronology chrono) { in test_badMinusTemporalUnitChrono() 235 public void test_badTemporalFieldChrono(Chronology chrono) { in test_badTemporalFieldChrono() 262 public void test_zonedDateTime_comparisons(Chronology chrono) { in test_zonedDateTime_comparisons() 325 public void test_from_TemporalAccessor(Chronology chrono) { in test_from_TemporalAccessor() 349 public void test_getChronology(Chronology chrono) { in test_getChronology() 351 assertEquals(test.getChronology(), chrono); in test_getChronology() local
|
D | TCKChronoLocalDate.java | 114 public void test_badWithAdjusterChrono(Chronology chrono) { in test_badWithAdjusterChrono() 137 public void test_badPlusAdjusterChrono(Chronology chrono) { in test_badPlusAdjusterChrono() 160 public void test_badMinusAdjusterChrono(Chronology chrono) { in test_badMinusAdjusterChrono() 183 public void test_badPlusTemporalUnitChrono(Chronology chrono) { in test_badPlusTemporalUnitChrono() 207 public void test_badMinusTemporalUnitChrono(Chronology chrono) { in test_badMinusTemporalUnitChrono() 231 public void test_badTemporalFieldChrono(Chronology chrono) { in test_badTemporalFieldChrono() 258 public void test_date_comparisons(Chronology chrono) { in test_date_comparisons() 312 public void test_from_TemporalAccessor(Chronology chrono) { in test_from_TemporalAccessor()
|
D | TCKTestServiceLoader.java | 78 Chronology chrono = Chronology.of("Coptic"); in test_TestServiceLoader() local
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKChronologySerialization.java | 96 public void test_chronoSerialization(Chronology chrono) throws Exception { in test_chronoSerialization() 104 private void test_serializationBytes(Chronology chrono) throws Exception { in test_serializationBytes()
|
D | TCKCopticSerialization.java | 77 Chronology chrono = Chronology.of("Coptic"); in test_eraSerialization() local
|
D | TCKChronoZonedDateTimeSerialization.java | 97 public void test_ChronoZonedDateTimeSerialization(Chronology chrono) throws Exception { in test_ChronoZonedDateTimeSerialization()
|
D | TCKChronoLocalDateTimeSerialization.java | 97 public void test_ChronoLocalDateTimeSerialization(Chronology chrono) throws Exception { in test_ChronoLocalDateTimeSerialization()
|
D | TCKChronoLocalDateSerialization.java | 135 HijrahChronology chrono = HijrahChronology.INSTANCE; in test_hijrahSerialization_format() local
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestNonIsoFormatter.java | 158 …public void test_formatLocalizedDate(Chronology chrono, Locale formatLocale, Locale numberingLocal… in test_formatLocalizedDate() 168 …public void test_parseLocalizedText(Chronology chrono, Locale formatLocale, Locale numberingLocale, in test_parseLocalizedText() 186 public void test_chronoNames(Chronology chrono, Locale locale, String expected) { in test_chronoNames() 197 public void test_lenientEraYear(Chronology chrono, String lenient, String strict) { in test_lenientEraYear()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestServiceLoader.java | 85 chronos.put(chrono.getId(), chrono); in test_copticServiceLoader() local
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahDate.java | 124 private final transient HijrahChronology chrono; field in HijrahDate 149 …static HijrahDate of(HijrahChronology chrono, int prolepticYear, int monthOfYear, int dayOfMonth) { in of() 159 static HijrahDate ofEpochDay(HijrahChronology chrono, long epochDay) { in ofEpochDay() 262 … private HijrahDate(HijrahChronology chrono, int prolepticYear, int monthOfYear, int dayOfMonth) { in HijrahDate() 277 private HijrahDate(HijrahChronology chrono, long epochDay) { in HijrahDate() 685 HijrahChronology chrono = (HijrahChronology) in.readObject(); in readExternal() local
|
D | ChronoPeriodImpl.java | 114 private final Chronology chrono; field in ChronoPeriodImpl 131 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) { in ChronoPeriodImpl() 394 Chronology chrono = Chronology.of(in.readUTF()); in readExternal() local
|
D | AbstractChronology.java | 176 static Chronology registerChrono(Chronology chrono) { in registerChrono() 189 static Chronology registerChrono(Chronology chrono, String id) { in registerChrono() 262 Chronology chrono = CHRONOS_BY_TYPE.get(type); in ofLocale() local 295 Chronology chrono = of0(id); in of() local 322 Chronology chrono = CHRONOS_BY_ID.get(id); in of0() local
|
D | ChronoZonedDateTimeImpl.java | 170 static ChronoZonedDateTimeImpl<?> ofInstant(Chronology chrono, Instant instant, ZoneId zone) { in ofInstant() 200 …static <R extends ChronoLocalDate> ChronoZonedDateTimeImpl<R> ensureValid(Chronology chrono, Tempo… in ensureValid()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeParseContext.java | 167 Chronology chrono = currentParsed().chrono; in getEffectiveChronology() local 381 void setParsed(Chronology chrono) { in setParsed()
|
D | DateTimePrintContext.java | 149 … Chronology chrono = (effectiveChrono != null ? effectiveChrono : IsoChronology.INSTANCE); in adjust() local
|
D | DateTimeFormatter.java | 508 private final Chronology chrono; field in DateTimeFormatter 1375 Chronology chrono, ZoneId zone) { in DateTimeFormatter() 1488 public DateTimeFormatter withChronology(Chronology chrono) { in withChronology()
|
D | DateTimeTextProvider.java | 164 public String getText(Chronology chrono, TemporalField field, long value, in getText() 244 public Iterator<Entry<String, Long>> getTextIterator(Chronology chrono, TemporalField field, in getTextIterator()
|
D | DateTimeFormatterBuilder.java | 206 Chronology chrono, Locale locale) { in getLocalizedDateTimePattern() 2067 DateTimeFormatter toFormatter(ResolverStyle resolverStyle, Chronology chrono) { in toFormatter() 2078 …vate DateTimeFormatter toFormatter(Locale locale, ResolverStyle resolverStyle, Chronology chrono) { in toFormatter() 2811 Chronology chrono = Chronology.from(context.getTemporal()); in getValue() local 2826 Chronology chrono = context.getEffectiveChronology(); in setValue() local 3105 Chronology chrono = context.getTemporal().query(TemporalQueries.chronology()); in format() local 3125 Chronology chrono = context.getEffectiveChronology(); in parse() local 4367 Chronology chrono = context.getValue(TemporalQueries.chronology()); in format() local 4418 private String getChronologyName(Chronology chrono, Locale locale) { in getChronologyName() 4453 Chronology chrono = Chronology.from(context.getTemporal()); in format() local [all …]
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 92 Chronology chrono = Chronology.ofLocale(calLocale); in test() local 145 Chronology chrono = ((TemporalAccessor)o).query(TemporalQueries.chronology()); in getClassName() local
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | WeekFields.java | 724 private ChronoLocalDate ofWeekBasedYear(Chronology chrono, in ofWeekBasedYear() 939 Chronology chrono = Chronology.from(partialTemporal); in resolve() local 958 …Map<TemporalField, Long> fieldValues, Chronology chrono, int year, long month, long wom, int local… in resolveWoM() 984 …Map<TemporalField, Long> fieldValues, Chronology chrono, int year, long woy, int localDow, Resolve… in resolveWoY() 1006 …Map<TemporalField, Long> fieldValues, Chronology chrono, int localDow, ResolverStyle resolverStyle… in resolveWBY()
|
D | JulianFields.java | 294 Chronology chrono = Chronology.from(partialTemporal); in resolve() local
|