for (int i = 0; i < FIELD_COUNT; i++) {
int hour = fields[ZONE_OFFSET] / (60 * 60 * 1000); int minute = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour) / (60 * 1000); int seconds = (fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute) / 1000; int millis = fields[ZONE_OFFSET] - 60 * 60 * 1000 * hour - 60 * 1000 * minute - seconds * 1000; int[] tempFields = { 1, 1970, JANUARY, 1, 1, 1, 1, THURSDAY, 1, AM, hour, hour, minute, seconds, millis, fields[ZONE_OFFSET], fields[DST_OFFSET] }; fields = tempFields; for (int i = 0; i < FIELD_COUNT - 2; i++)
  public final void clear()  {		isTimeSet = false;		areFieldsSet = false;    for (int i = 0; i < FIELD_COUNT; i++)      {			isSet[i] = false;			fields[i] = 0;		}	}