rem:   new TestCase( SECTION, DateString+".getTime()",             UTCDate.value,       DateCase.getTime() ); new TestCase( SECTION, DateString+".valueOf()",             UTCDate.value,       DateCase.valueOf() );  new TestCase( SECTION, DateString+".getUTCFullYear()",      UTCDate.year,    DateCase.getUTCFullYear() ); new TestCase( SECTION, DateString+".getUTCMonth()",         UTCDate.month,  DateCase.getUTCMonth() ); new TestCase( SECTION, DateString+".getUTCDate()",          UTCDate.date,   DateCase.getUTCDate() ); new TestCase( SECTION, DateString+".getUTCDay()",           UTCDate.day,    DateCase.getUTCDay() ); new TestCase( SECTION, DateString+".getUTCHours()",         UTCDate.hours,  DateCase.getUTCHours() ); new TestCase( SECTION, DateString+".getUTCMinutes()",       UTCDate.minutes,DateCase.getUTCMinutes() ); new TestCase( SECTION, DateString+".getUTCSeconds()",       UTCDate.seconds,DateCase.getUTCSeconds() ); new TestCase( SECTION, DateString+".getUTCMilliseconds()",  UTCDate.ms,     DateCase.getUTCMilliseconds() );  new TestCase( SECTION, DateString+".getFullYear()",         LocalDate.year,       DateCase.getFullYear() ); new TestCase( SECTION, DateString+".getMonth()",            LocalDate.month,      DateCase.getMonth() ); new TestCase( SECTION, DateString+".getDate()",             LocalDate.date,       DateCase.getDate() ); new TestCase( SECTION, DateString+".getDay()",              LocalDate.day,        DateCase.getDay() ); new TestCase( SECTION, DateString+".getHours()",            LocalDate.hours,      DateCase.getHours() ); new TestCase( SECTION, DateString+".getMinutes()",          LocalDate.minutes,    DateCase.getMinutes() ); new TestCase( SECTION, DateString+".getSeconds()",          LocalDate.seconds,    DateCase.getSeconds() ); new TestCase( SECTION, DateString+".getMilliseconds()",     LocalDate.ms,         DateCase.getMilliseconds() ); 
add: new TestCase( SECTION, DateString+".getFullYear()",        LocalDate.year, DateCase.getFullYear() ); new TestCase( SECTION, DateString+".getMonth()",           LocalDate.month, DateCase.getMonth() ); new TestCase( SECTION, DateString+".getDate()",            LocalDate.date, DateCase.getDate() ); new TestCase( SECTION, DateString+".getDay()",             LocalDate.day, DateCase.getDay() ); new TestCase( SECTION, DateString+".getHours()",           LocalDate.hours, DateCase.getHours() ); new TestCase( SECTION, DateString+".getMinutes()",         LocalDate.minutes, DateCase.getMinutes() ); new TestCase( SECTION, DateString+".getSeconds()",         LocalDate.seconds, DateCase.getSeconds() ); new TestCase( SECTION, DateString+".getMilliseconds()",    LocalDate.ms, DateCase.getMilliseconds() ); 
context: function addNewTestCase( time, hours, min, sec, ms, DateString, UTCDate, LocalDate) {  DateCase = new Date(time);  if ( min == void 0 ) {    DateCase.setUTCHours( hours );  } else {    if ( sec == void 0 ) {      DateCase.setUTCHours( hours, min );    } else {      if ( ms == void 0 ) {	DateCase.setUTCHours( hours, min, sec );      } else {	DateCase.setUTCHours( hours, min, sec, ms );      }    }  }//    fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year;  new TestCase( SECTION, DateString+".getTime()",             UTCDate.value,       DateCase.getTime() );  new TestCase( SECTION, DateString+".valueOf()",             UTCDate.value,       DateCase.valueOf() );  new TestCase( SECTION, DateString+".getUTCFullYear()",      UTCDate.year,    DateCase.getUTCFullYear() );  new TestCase( SECTION, DateString+".getUTCMonth()",         UTCDate.month,  DateCase.getUTCMonth() );  new TestCase( SECTION, DateString+".getUTCDate()",          UTCDate.date,   DateCase.getUTCDate() );  new TestCase( SECTION, DateString+".getUTCDay()",           UTCDate.day,    DateCase.getUTCDay() );  new TestCase( SECTION, DateString+".getUTCHours()",         UTCDate.hours,  DateCase.getUTCHours() );  new TestCase( SECTION, DateString+".getUTCMinutes()",       UTCDate.minutes,DateCase.getUTCMinutes() );  new TestCase( SECTION, DateString+".getUTCSeconds()",       UTCDate.seconds,DateCase.getUTCSeconds() );  new TestCase( SECTION, DateString+".getUTCMilliseconds()",  UTCDate.ms,     DateCase.getUTCMilliseconds() );  new TestCase( SECTION, DateString+".getFullYear()",         LocalDate.year,       DateCase.getFullYear() );  new TestCase( SECTION, DateString+".getMonth()",            LocalDate.month,      DateCase.getMonth() );  new TestCase( SECTION, DateString+".getDate()",             LocalDate.date,       DateCase.getDate() );  new TestCase( SECTION, DateString+".getDay()",              LocalDate.day,        DateCase.getDay() );  new TestCase( SECTION, DateString+".getHours()",            LocalDate.hours,      DateCase.getHours() );  new TestCase( SECTION, DateString+".getMinutes()",          LocalDate.minutes,    DateCase.getMinutes() );  new TestCase( SECTION, DateString+".getSeconds()",          LocalDate.seconds,    DateCase.getSeconds() );  new TestCase( SECTION, DateString+".getMilliseconds()",     LocalDate.ms,         DateCase.getMilliseconds() );  DateCase.toString = Object.prototype.toString;  new TestCase( SECTION,		DateString+".toString=Object.prototype.toString;"+DateString+".toString()",		"[object Date]",		DateCase.toString() );}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/157dc1db5f1574436e23c2da891a05cf0dd77e58/15.9.5.31-1.js/buggy/js/tests/ecma/Date/15.9.5.31-1.js