src/java.base/share/classes/java/time/chrono/ChronoPeriodImpl.java
changeset 58520 e036ee8bae56
parent 57956 e0b8b019d2f5
child 58679 9c3209ff7550
equal deleted inserted replaced
58519:6e017b301287 58520:e036ee8bae56
   107     private static final List<TemporalUnit> SUPPORTED_UNITS = List.of(YEARS, MONTHS, DAYS);
   107     private static final List<TemporalUnit> SUPPORTED_UNITS = List.of(YEARS, MONTHS, DAYS);
   108 
   108 
   109     /**
   109     /**
   110      * The chronology.
   110      * The chronology.
   111      */
   111      */
       
   112     @SuppressWarnings("serial") // Not statically typed as Serializable
   112     private final Chronology chrono;
   113     private final Chronology chrono;
   113     /**
   114     /**
   114      * The number of years.
   115      * The number of years.
   115      */
   116      */
   116     final int years;
   117     final int years;