rem:  if ( (0 <= day) && (day < 31) ) {return 0;} if ( (31 <= day) && (day < (59+leap) )) {return 1;} if ( ((59+leap) <= day) && (day < (90+leap) )) {return 2;} if ( ((90+leap) <= day) && (day < (120+leap) )) {return 3;} if ( ((120+leap) <= day) && (day < (151+leap) )) {return 4;} if ( ((151+leap) <= day) && (day < (181+leap) )) {return 5;} if ( ((181+leap) <= day) && (day < (212+leap) )) {return 6;} if ( ((212+leap) <= day) && (day < (243+leap)) ) {return 7;} if ( ((243+leap) <= day) && (day < (273+leap) )) {return 8;} if ( ((273+leap) <= day) && (day < (304+leap)) ) {return 9;} if ( ((304+leap) <= day) && (day < (334+leap)) ) {return 10;} if ( ((334+leap) <= day) && (day < (365+leap)) ) {return 11;} else {return "ERROR: MonthFromTime("  +  t  +  ") not known";} 
add: if ( (0 <= day) && (day < 31) ) { return 0; } if ( (31 <= day) && (day < (59+leap)) ) { return 1; } if ( ((59+leap) <= day) && (day < (90+leap)) ) { return 2; } if ( ((90+leap) <= day) && (day < (120+leap)) ) { return 3; } if ( ((120+leap) <= day) && (day < (151+leap)) ) { return 4; } if ( ((151+leap) <= day) && (day < (181+leap)) ) { return 5; } if ( ((181+leap) <= day) && (day < (212+leap)) ) { return 6; } if ( ((212+leap) <= day) && (day < (243+leap)) ) { return 7; } if ( ((243+leap) <= day) && (day < (273+leap)) ) { return 8; } if ( ((273+leap) <= day) && (day < (304+leap)) ) { return 9; } if ( ((304+leap) <= day) && (day < (334+leap)) ) { return 10; } if ( ((334+leap) <= day) && (day < (365+leap)) ) { return 11; } else { return "ERROR: MonthFromTime("+t+") not known"; } 
context: function MonthFromTime( t ) {  var day = DayWithinYear( t );  var leap = InLeapYear(t);  // I know I could use switch but I'd rather not until it's part of ECMA  if ( (0 <= day) && (day < 31) ) {return 0;}  if ( (31 <= day) && (day < (59+leap) )) {return 1;}  if ( ((59+leap) <= day) && (day < (90+leap) )) {return 2;}  if ( ((90+leap) <= day) && (day < (120+leap) )) {return 3;}  if ( ((120+leap) <= day) && (day < (151+leap) )) {return 4;}  if ( ((151+leap) <= day) && (day < (181+leap) )) {return 5;}  if ( ((181+leap) <= day) && (day < (212+leap) )) {return 6;}  if ( ((212+leap) <= day) && (day < (243+leap)) ) {return 7;}  if ( ((243+leap) <= day) && (day < (273+leap) )) {return 8;}  if ( ((273+leap) <= day) && (day < (304+leap)) ) {return 9;}  if ( ((304+leap) <= day) && (day < (334+leap)) ) {return 10;}  if ( ((334+leap) <= day) && (day < (365+leap)) ) {return 11;}   else {return "ERROR: MonthFromTime("  +  t  +  ") not known";}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f5797aeb2410e2259028142b87595fe71f03e531/shell.js/clean/js/tests/ecma_3/Date/shell.js