Пример #1
0
 public function testStaticNumerize()
 {
     $this->assertEquals(1250007, Horde_Support_Numerizer::numerize('eine million zweihundertfünfzigtausendundsieben', array('locale' => 'de')));
 }
Пример #2
0
 public function testStaticNumerize()
 {
     $this->assertEquals('2006-08-20 03:00', Horde_Support_Numerizer::numerize('2006-08-20 03:00'));
 }
Пример #3
0
 /**
  * Convert number words to numbers (three => 3)
  */
 public function numericizeNumbers($text)
 {
     return Horde_Support_Numerizer::numerize($text, $this->args);
 }