Exemple #1
0
 /**
  * Test for setTimestamp
  */
 public function testSetTimestamp2()
 {
     try {
         $locale = new Locale('de_AT');
         $date = new Date(0, null, $locale);
         $result = $date->setTimestamp('notimestamp');
         $this->Fail("exception expected");
     } catch (\Zend\Date\Exception $e) {
         // success
     }
 }