Rewrite Language::hebrewNumeral()
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Thu, 21 May 2015 23:26:05 +0000 (02:26 +0300)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Tue, 2 Jun 2015 13:10:52 +0000 (15:10 +0200)
commitc9678525eb0cc95eabf2a3b7ba82dd00c6ac02f0
tree0f457359f7502068b2d018e03babff2bbca24df5
parentf21537f8f2c23cd432313b847b39f86592896422
Rewrite Language::hebrewNumeral()

Use arrays instead of strings, to avoid using
string functions with Unicode.

Handle thousands according to how years like 1000, 2000, etc.
are named in the Hebrew Wikipedia.

Bug: T97444
Change-Id: I5334e86793d28dfcf8939a249b03a5ea85fa4e69
languages/Language.php
tests/phpunit/languages/LanguageTest.php