fields[YEAR] = year; fields[MONTH] = month; fields[DATE] = date; isSet[YEAR] = isSet[MONTH] = isSet[DATE] = true; isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[DAY_OF_WEEK_IN_MONTH] = false;
fields[field] = value; isSet[field] = true; switch (field) { case YEAR: case MONTH: case DATE: isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[DAY_OF_WEEK_IN_MONTH] = false; break; case AM_PM: isSet[HOUR_OF_DAY] = false; break; case HOUR_OF_DAY: isSet[AM_PM] = false; isSet[HOUR] = false; break; case HOUR: isSet[HOUR_OF_DAY] = false; break; case DST_OFFSET: explicitDSTOffset = true; }   if (!explicitDSTOffset && (field != DST_OFFSET && field != ZONE_OFFSET)) isSet[DST_OFFSET] = false;
  public final void set(int year, int month, int date)  {		isTimeSet = false;		fields[YEAR] = year;		fields[MONTH] = month;		fields[DATE] = date;		isSet[YEAR] = isSet[MONTH] = isSet[DATE] = true;		isSet[WEEK_OF_YEAR] = false;		isSet[DAY_OF_YEAR] = false;		isSet[WEEK_OF_MONTH] = false;		isSet[DAY_OF_WEEK] = false;		isSet[DAY_OF_WEEK_IN_MONTH] = false;	}