Searched refs:ChronoPeriodImpl (Results 1 – 4 of 4) sorted by relevance
96 final class ChronoPeriodImpl class131 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) { in ChronoPeriodImpl() method in ChronoPeriodImpl155 return ChronoPeriodImpl.SUPPORTED_UNITS; in getUnits()177 ChronoPeriodImpl amount = validateAmount(amountToAdd); in plus()178 return new ChronoPeriodImpl( in plus()187 ChronoPeriodImpl amount = validateAmount(amountToSubtract); in minus()188 return new ChronoPeriodImpl( in minus()201 private ChronoPeriodImpl validateAmount(TemporalAmount amount) { in validateAmount()203 if (amount instanceof ChronoPeriodImpl == false) { in validateAmount()206 ChronoPeriodImpl period = (ChronoPeriodImpl) amount; in validateAmount()[all …]
188 ((ChronoPeriodImpl) object).writeExternal(out); in writeInternal()242 case CHRONO_PERIOD_TYPE: return ChronoPeriodImpl.readExternal(in); in readInternal()
705 return new ChronoPeriodImpl(this, years, months, days); in period()
789 "ojluni/src/main/java/java/time/chrono/ChronoPeriodImpl.java",