rem: if ( month == 0) {return ( day + 1 );} if ( month == 1) {return ( day - 30 );} if ( month == 2) {return ( day - 58 - InLeapYear(t) );} if ( month == 3) {return ( day - 89 - InLeapYear(t));} if ( month == 4) {return ( day - 119 - InLeapYear(t));} if ( month == 5) {return ( day - 150 - InLeapYear(t));} if ( month == 6) {return ( day - 180 - InLeapYear(t));} if ( month == 7) {return ( day - 211 - InLeapYear(t));} if ( month == 8) {return ( day - 242 - InLeapYear(t));} if ( month == 9) {return ( day - 272 - InLeapYear(t));} if ( month == 10) {return ( day - 303 - InLeapYear(t));} if ( month == 11) {return ( day - 333 - InLeapYear(t));} return ("ERROR: DateFromTime("+t+") not known" ); 
add: if ( month == 0 ) { return ( day + 1 ); } if ( month == 1 ) { return ( day - 30 ); } if ( month == 2 ) { return ( day - 58 - InLeapYear(t) ); } if ( month == 3 ) { return ( day - 89 - InLeapYear(t)); } if ( month == 4 ) { return ( day - 119 - InLeapYear(t)); } if ( month == 5 ) { return ( day - 150- InLeapYear(t)); } if ( month == 6 ) { return ( day - 180- InLeapYear(t)); } if ( month == 7 ) { return ( day - 211- InLeapYear(t)); } if ( month == 8 ) { return ( day - 242- InLeapYear(t)); } if ( month == 9 ) { return ( day - 272- InLeapYear(t)); } if ( month == 10 ) { return ( day - 303- InLeapYear(t)); } if ( month == 11 ) { return ( day - 333- InLeapYear(t)); }  return ("ERROR:  DateFromTime("+t+") not known" ); 
context: function DateFromTime( t ) {  var day = DayWithinYear(t);  var month = MonthFromTime(t);  if ( month == 0) {return ( day + 1 );}  if ( month == 1) {return ( day - 30 );}  if ( month == 2) {return ( day - 58 - InLeapYear(t) );}  if ( month == 3) {return ( day - 89 - InLeapYear(t));}  if ( month == 4) {return ( day - 119 - InLeapYear(t));}  if ( month == 5) {return ( day - 150 - InLeapYear(t));}  if ( month == 6) {return ( day - 180 - InLeapYear(t));}  if ( month == 7) {return ( day - 211 - InLeapYear(t));}  if ( month == 8) {return ( day - 242 - InLeapYear(t));}  if ( month == 9) {return ( day - 272 - InLeapYear(t));}  if ( month == 10) {return ( day - 303 - InLeapYear(t));}  if ( month == 11) {return ( day - 333 - InLeapYear(t));}  return ("ERROR: DateFromTime("+t+") not known" );}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f5797aeb2410e2259028142b87595fe71f03e531/shell.js/clean/js/tests/ecma_3/Date/shell.js