Lines Matching refs:YEAR

181  *              <code>YEAR<br></code>
275 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
300 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
417 * YEAR 1 1 292269054 292278994
438 1, // YEAR
457 292269054, // YEAR
476 292278994, // YEAR
628 * @param year the value used to set the <code>YEAR</code> calendar field in the calendar.
641 * @param year the value used to set the <code>YEAR</code> calendar field in the calendar.
659 * @param year the value used to set the <code>YEAR</code> calendar field in the calendar.
679 * @param year the value used to set the <code>YEAR</code> calendar field in the calendar.
695 this.set(YEAR, year);
893 if (field == YEAR) {
894 int year = internalGet(YEAR);
898 set(YEAR, year);
900 set(YEAR, 1 - year);
908 set(YEAR, year);
910 set(YEAR, 1 - year);
918 int year = internalGet(YEAR);
930 set(YEAR, year);
932 set(YEAR, 1 - year);
940 set(YEAR, year);
942 set(YEAR, 1 - year);
1065 * sets the calendar to January 31, 1999. The <code>YEAR</code> field is unchanged
1097 * value, 30. The <code>YEAR</code> field maintains the value of 1999 because it
1145 case YEAR:
1172 d.setDate(internalGet(YEAR),
1512 case YEAR:
1589 case YEAR:
1658 * Calendar#YEAR YEAR} (calendar year) value, not the <a
1783 if (internalGet(YEAR) != gc.getWeekYear()) {
1820 int y = gc.internalGet(YEAR);
1825 } while (gc.get(YEAR) == y && gc.get(MONTH) == m);
1858 case YEAR:
1865 * The actual maxima for YEAR depend on the type of calendar:
1891 value = gc.get(YEAR);
1996 * that may be one year before or after the {@link Calendar#YEAR YEAR}
2016 int year = get(YEAR); // implicitly calls complete()
2072 cal.set(YEAR, year + 1);
2149 gc.set(YEAR, weekYear);
2171 set(YEAR, gc.internalGet(YEAR));
2201 if (weekYear == gc.internalGet(YEAR)) {
2357 // Always set the ERA and YEAR values.
2359 internalSet(YEAR, year);
2595 // fieldMask for YEAR because YEAR is a mandatory field to
2597 int year = isSet(YEAR) ? internalGet(YEAR) : EPOCH_YEAR;
3061 * by internalGet(YEAR).
3066 int year = internalGet(YEAR);
3103 * internalGet(YEAR).
3106 int year = internalGet(YEAR);
3114 * After adjustments such as add(MONTH), add(YEAR), we don't want the
3120 int year = internalGet(YEAR);