Ejemplo n.º 1
0
 /**
  * Test for addTimestamp
  */
 public function testAddTimestamp2()
 {
     try {
         $locale = new Locale('de_AT');
         $date = new Date(0, null, $locale);
         $result = $date->addTimestamp('notimestamp');
         $this->fail("exception expected");
     } catch (\Zend\Date\Exception $e) {
         // success
     }
 }