if (isSet[HOUR] && (fields[HOUR] < 0 || fields[HOUR] > 12))
if (isSet[HOUR] && (fields[HOUR] < 0 || fields[HOUR] > 11))
  private void nonLeniencyCheck() throws IllegalArgumentException	  {    int[] month_days = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };    int year = fields[YEAR];    int month = fields[MONTH];    int leap = isLeapYear(year) ? 1 : 0;    if (isSet[ERA] && fields[ERA] != AD && fields[ERA] != BC)      throw new IllegalArgumentException("Illegal ERA.");    if (isSet[YEAR] && fields[YEAR] < 1)      throw new IllegalArgumentException("Illegal YEAR.");    if (isSet[MONTH] && (month < 0 || month > 11))      throw new IllegalArgumentException("Illegal MONTH.");    if (isSet[WEEK_OF_YEAR])      {	int daysInYear = 365 + leap;	daysInYear += (getFirstDayOfMonth(year, 0) - 1); // pad first week	int last = getFirstDayOfMonth(year, 11) + 4;	if (last > 7)	  last -= 7;	daysInYear += 7 - last;	int weeks = daysInYear / 7;	if (fields[WEEK_OF_YEAR] < 1 || fields[WEEK_OF_YEAR] > weeks)	  throw new IllegalArgumentException("Illegal WEEK_OF_YEAR.");      }    if (isSet[WEEK_OF_MONTH])      {	int weeks = (month == 1 && leap == 0) ? 4 : 5;	if (fields[WEEK_OF_MONTH] < 1 || fields[WEEK_OF_MONTH] > weeks)	  throw new IllegalArgumentException("Illegal WEEK_OF_MONTH.");		}    if (isSet[DAY_OF_MONTH])      if (fields[DAY_OF_MONTH] < 1          || fields[DAY_OF_MONTH] > month_days[month]          + ((month == 1) ? leap : 0))	throw new IllegalArgumentException("Illegal DAY_OF_MONTH.");    if (isSet[DAY_OF_YEAR]        && (fields[DAY_OF_YEAR] < 1 || fields[DAY_OF_YEAR] > 365 + leap))      throw new IllegalArgumentException("Illegal DAY_OF_YEAR.");    if (isSet[DAY_OF_WEEK]        && (fields[DAY_OF_WEEK] < 1 || fields[DAY_OF_WEEK] > 7))      throw new IllegalArgumentException("Illegal DAY_OF_WEEK.");    if (isSet[DAY_OF_WEEK_IN_MONTH])      {	int weeks = (month == 1 && leap == 0) ? 4 : 5;	if (fields[DAY_OF_WEEK_IN_MONTH] < -weeks	    || fields[DAY_OF_WEEK_IN_MONTH] > weeks)	  throw new IllegalArgumentException("Illegal DAY_OF_WEEK_IN_MONTH.");      }    if (isSet[AM_PM] && fields[AM_PM] != AM && fields[AM_PM] != PM)      throw new IllegalArgumentException("Illegal AM_PM.");    if (isSet[HOUR] && (fields[HOUR] < 0 || fields[HOUR] > 12))      throw new IllegalArgumentException("Illegal HOUR.");    if (isSet[HOUR_OF_DAY]        && (fields[HOUR_OF_DAY] < 0 || fields[HOUR_OF_DAY] > 23))      throw new IllegalArgumentException("Illegal HOUR_OF_DAY.");    if (isSet[MINUTE] && (fields[MINUTE] < 0 || fields[MINUTE] > 59))      throw new IllegalArgumentException("Illegal MINUTE.");    if (isSet[SECOND] && (fields[SECOND] < 0 || fields[SECOND] > 59))      throw new IllegalArgumentException("Illegal SECOND.");    if (isSet[MILLISECOND]        && (fields[MILLISECOND] < 0 || fields[MILLISECOND] > 999))      throw new IllegalArgumentException("Illegal MILLISECOND.");    if (isSet[ZONE_OFFSET]        && (fields[ZONE_OFFSET] < -12 * 60 * 60 * 1000L        || fields[ZONE_OFFSET] > 12 * 60 * 60 * 1000L))      throw new IllegalArgumentException("Illegal ZONE_OFFSET.");    if (isSet[DST_OFFSET]        && (fields[DST_OFFSET] < -12 * 60 * 60 * 1000L        || fields[DST_OFFSET] > 12 * 60 * 60 * 1000L))      throw new IllegalArgumentException("Illegal DST_OFFSET.");	}