Home | History | Annotate | Download | only in chrono

Lines Matching defs:chrono

57 package java.time.chrono;
114 private final Chronology chrono;
131 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) {
132 Objects.requireNonNull(chrono, "chrono");
133 this.chrono = chrono;
160 return chrono;
179 chrono,
189 chrono,
207 if (chrono.equals(period.getChronology()) == false) {
208 throw new ClassCastException("Chronology mismatch, expected: " + chrono.getId() + ", actual: " + period.getChronology().getId());
220 chrono,
237 return new ChronoPeriodImpl(chrono, Math.toIntExact(splitYears), splitMonths, days);
249 ValueRange startRange = chrono.range(MONTH_OF_YEAR);
313 if (temporalChrono != null && chrono.equals(temporalChrono) == false) {
314 throw new DateTimeException("Chronology mismatch, expected: " + chrono.getId() + ", actual: " + temporalChrono.getId());
327 days == other.days && chrono.equals(other.chrono);
334 return (years + Integer.rotateLeft(months, 8) + Integer.rotateLeft(days, 16)) ^ chrono.hashCode();
361 * <a href="../../../serialized-form.html#java.time.chrono.Ser">dedicated serialized form</a>.
387 out.writeUTF(chrono.getId());
394 Chronology chrono = Chronology.of(in.readUTF());
398 return new ChronoPeriodImpl(chrono, years, months, days);