< prev index next >

src/java.base/share/classes/java/time/chrono/ChronoPeriodImpl.java

Print this page

        

*** 107,116 **** --- 107,117 ---- private static final List<TemporalUnit> SUPPORTED_UNITS = List.of(YEARS, MONTHS, DAYS); /** * The chronology. */ + @SuppressWarnings("serial") // Not statically typed as Serializable private final Chronology chrono; /** * The number of years. */ final int years;
< prev index next >