public function testToXXXX()
 {
     CopixI18N::setLang('fr');
     $this->assertEquals('19761225', CopixDateTime::dateToYYYYMMDD('25/12/1976'));
     $this->assertFalse(CopixDateTime::dateToYYYYMMDD('215/a2/1976'));
     $this->assertFalse(CopixDateTime::dateToYYYYMMDD('215/a276'));
     $this->assertEquals('19761225150000', CopixDateTime::DateTimeToyyyymmddhhiiss('25/12/1976 15:00:00'));
     $this->assertEquals('19761225100106', CopixDateTime::timestampToyyyymmddhhiiss(220352466));
     CopixI18N::setLang('en');
     $this->assertEquals('19761225', CopixDateTime::dateToYYYYMMDD('12/25/1976'));
     $this->assertFalse(CopixDateTime::dateToYYYYMMDD('25/a2/1976'));
     $this->assertNull(CopixDateTime::dateToYYYYMMDD(null));
     $this->assertEquals('19761225150000', CopixDateTime::DateTimeToyyyymmddhhiiss('12/25/1976 03:00:00 pm'));
     $this->assertEquals('19761225030000', CopixDateTime::DateTimeToyyyymmddhhiiss('12/25/1976 03:00:00 am'));
     $this->assertEquals('19761225', CopixDateTime::timestampToyyyymmdd(220316400));
 }