< prev index next >

src/java.base/share/classes/java/util/Calendar.java

Print this page

        

*** 842,870 **** * This is an array of <code>FIELD_COUNT</code> integers, with index values * <code>ERA</code> through <code>DST_OFFSET</code>. * @serial */ @SuppressWarnings("ProtectedField") ! protected int fields[]; /** * The flags which tell if a specified calendar field for the calendar is set. * A new object has no fields set. After the first call to a method * which generates the fields, they all remain set after that. * This is an array of <code>FIELD_COUNT</code> booleans, with index values * <code>ERA</code> through <code>DST_OFFSET</code>. * @serial */ @SuppressWarnings("ProtectedField") ! protected boolean isSet[]; /** * Pseudo-time-stamps which specify when each field was set. There * are two special values, UNSET and COMPUTED. Values from * MINIMUM_USER_SET to Integer.MAX_VALUE are legal user set values. */ ! private transient int stamp[]; /** * The currently set time for this calendar, expressed in milliseconds after * January 1, 1970, 0:00:00 GMT. * @see #isTimeSet --- 842,870 ---- * This is an array of <code>FIELD_COUNT</code> integers, with index values * <code>ERA</code> through <code>DST_OFFSET</code>. * @serial */ @SuppressWarnings("ProtectedField") ! protected int[] fields; /** * The flags which tell if a specified calendar field for the calendar is set. * A new object has no fields set. After the first call to a method * which generates the fields, they all remain set after that. * This is an array of <code>FIELD_COUNT</code> booleans, with index values * <code>ERA</code> through <code>DST_OFFSET</code>. * @serial */ @SuppressWarnings("ProtectedField") ! protected boolean[] isSet; /** * Pseudo-time-stamps which specify when each field was set. There * are two special values, UNSET and COMPUTED. Values from * MINIMUM_USER_SET to Integer.MAX_VALUE are legal user set values. */ ! private transient int[] stamp; /** * The currently set time for this calendar, expressed in milliseconds after * January 1, 1970, 0:00:00 GMT. * @see #isTimeSet
< prev index next >