Home
last modified time | relevance | path

Searched defs:chrono (Results 1 – 25 of 37) sorted by relevance

12

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoPeriod.java105 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 …]
DTCKChronology.java116 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 …]
DTCKChronoLocalDateTime.java114 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
DTCKChronoZonedDateTime.java116 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
DTCKChronoLocalDate.java114 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()
DTCKTestServiceLoader.java78 Chronology chrono = Chronology.of("Coptic"); in test_TestServiceLoader() local
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
DTCKChronologySerialization.java96 public void test_chronoSerialization(Chronology chrono) throws Exception { in test_chronoSerialization()
104 private void test_serializationBytes(Chronology chrono) throws Exception { in test_serializationBytes()
DTCKCopticSerialization.java77 Chronology chrono = Chronology.of("Coptic"); in test_eraSerialization() local
DTCKChronoZonedDateTimeSerialization.java97 public void test_ChronoZonedDateTimeSerialization(Chronology chrono) throws Exception { in test_ChronoZonedDateTimeSerialization()
DTCKChronoLocalDateTimeSerialization.java97 public void test_ChronoLocalDateTimeSerialization(Chronology chrono) throws Exception { in test_ChronoLocalDateTimeSerialization()
DTCKChronoLocalDateSerialization.java135 HijrahChronology chrono = HijrahChronology.INSTANCE; in test_hijrahSerialization_format() local
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestNonIsoFormatter.java158 …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/
DTestServiceLoader.java85 chronos.put(chrono.getId(), chrono); in test_copticServiceLoader() local
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java124 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
DChronoPeriodImpl.java114 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
DAbstractChronology.java176 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
DChronoZonedDateTimeImpl.java170 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/
DDateTimeParseContext.java167 Chronology chrono = currentParsed().chrono; in getEffectiveChronology() local
381 void setParsed(Chronology chrono) { in setParsed()
DDateTimePrintContext.java149 … Chronology chrono = (effectiveChrono != null ? effectiveChrono : IsoChronology.INSTANCE); in adjust() local
DDateTimeFormatter.java508 private final Chronology chrono; field in DateTimeFormatter
1375 Chronology chrono, ZoneId zone) { in DateTimeFormatter()
1488 public DateTimeFormatter withChronology(Chronology chrono) { in withChronology()
DDateTimeTextProvider.java164 public String getText(Chronology chrono, TemporalField field, long value, in getText()
244 public Iterator<Entry<String, Long>> getTextIterator(Chronology chrono, TemporalField field, in getTextIterator()
DDateTimeFormatterBuilder.java206 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/
DTestFormatter.java92 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/
DWeekFields.java724 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()
DJulianFields.java294 Chronology chrono = Chronology.from(partialTemporal); in resolve() local

12