case YEAR: case MONTH: case DATE:
case MONTH: isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_YEAR] = false; break; case DAY_OF_MONTH: isSet[YEAR] = true; isSet[MONTH] = true; isSet[WEEK_OF_MONTH] = true; isSet[DAY_OF_WEEK] = false; isSet[DAY_OF_WEEK_IN_MONTH] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_YEAR] = false; break; case WEEK_OF_MONTH: isSet[YEAR] = true; isSet[MONTH] = true; isSet[DAY_OF_WEEK] = true; isSet[DAY_OF_MONTH] = false; isSet[DAY_OF_WEEK_IN_MONTH] = false; isSet[DAY_OF_YEAR] = false;
  public void set(int field, int value)  {		isTimeSet = 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;		}    // May have crossed over a DST boundary.    if (! explicitDSTOffset && (field != DST_OFFSET && field != ZONE_OFFSET))      isSet[DST_OFFSET] = false;	}