{ return new int[] { dayOfYear + fields[DAY_OF_MONTH], 0}; }
return new int[] { dayOfYear + fields[DAY_OF_MONTH], 0 };
  private int[] getDayOfYear(int year)  {    if (isSet[MONTH])      {			int dayOfYear;	if (fields[MONTH] > FEBRUARY)	  {				// The months after February are regular:				// 9 is an offset found by try and error.				dayOfYear = (fields[MONTH] * (31 + 30 + 31 + 30 + 31) - 9) / 5;				if (isLeapYear(year))					dayOfYear++;	  }	else				dayOfYear = 31 * fields[MONTH];	if (isSet[DAY_OF_MONTH])	  {	    return new int[]	    {	    dayOfYear + fields[DAY_OF_MONTH], 0};			}	if (isSet[WEEK_OF_MONTH] && isSet[DAY_OF_WEEK])	  {				// the weekday of the first day in that month is:				int weekday = getWeekDay(year, ++dayOfYear);	    return new int[]	    {	      dayOfYear,					// the day of week in the first week					// (weeks starting on sunday) is:					fields[DAY_OF_WEEK] - weekday +					// Now jump to the right week and correct the possible					// error made by assuming sunday is the first week day.	      7 * (fields[WEEK_OF_MONTH]		   + (fields[DAY_OF_WEEK] < getFirstDayOfWeek()? 0 : -1)		   + (weekday < getFirstDayOfWeek()? -1 : 0))};			}	if (isSet[DAY_OF_WEEK] && isSet[DAY_OF_WEEK_IN_MONTH])	  {				// the weekday of the first day in that month is:				int weekday = getWeekDay(year, ++dayOfYear);	    return new int[] { 		  dayOfYear,		  fields[DAY_OF_WEEK] - weekday +		  7 * (fields[DAY_OF_WEEK_IN_MONTH]		       + (fields[DAY_OF_WEEK] < weekday ? 0 : -1))};			}		}		// MONTH + something did not succeed.    if (isSet[DAY_OF_YEAR])      {	return new int[] {0, fields[DAY_OF_YEAR]};		}    if (isSet[DAY_OF_WEEK] && isSet[WEEK_OF_YEAR])      {			int dayOfYear = getMinimalDaysInFirstWeek();			// the weekday of the day, that begins the first week 			// in that year is:			int weekday = getWeekDay(year, dayOfYear);	return new int[] { 	    dayOfYear,				// the day of week in the first week				// (weeks starting on sunday) is:				fields[DAY_OF_WEEK] - weekday				// Now jump to the right week and correct the possible				// error made by assuming sunday is the first week day.	    + 7 * (fields[WEEK_OF_YEAR]		   + (fields[DAY_OF_WEEK] < getFirstDayOfWeek()? 0 : -1)		   + (weekday < getFirstDayOfWeek()? -1 : 0))};		}		// As last resort return Jan, 1st.    return new int[] {1, 0};	}