public function itExplodesDateWithHoursInMMDDYYYYHHSSFormatWithoutGivenSeconds()
 {
     $field = new Tracker_FormElement_Field_DateTestVersion();
     $field->setReturnValue('_getUserCSVDateFormat', 'month_day_year');
     $this->assertEqual(array('1981', '04', '25', '01', '02', '00'), $field->explodeXlsDateFmt('04/25/1981 01:02'));
 }
 function testExplodeXlsDateFmtMMDDYYYY()
 {
     $f = new Tracker_FormElement_Field_DateTestVersion();
     $f->setReturnValue('_getUserCSVDateFormat', 'month_day_year');
     $this->assertEqual(array('1981', '04', '25', '0', '0'), $f->explodeXlsDateFmt('04/25/1981'));
     $this->assertNull($f->explodeXlsDateFmt('25/04/1981'));
     $this->assertNull($f->explodeXlsDateFmt('25/04/81'));
     $this->assertNull($f->explodeXlsDateFmt('04/25/81'));
     $this->assertNull($f->explodeXlsDateFmt('04/25/81 10AM'));
 }