BaseXdb / basex

BaseX Main Repository.
http://basex.org
BSD 3-Clause "New" or "Revised" License
695 stars 264 forks source link

Use ICU4J for language support in fn:format-integer and date formatting #2262

Closed GuntherRademacher closed 11 months ago

GuntherRademacher commented 11 months ago

These are the changes that add ICU4J support to fn:format-integer and date formatting. In particular,

Note: ICU distinguishes between "ordinal", "cardinal" und "numbering", e.g. in German "erste", "ein", "eins". The definition of fn:format-integer does not do this, rather it declares "cardinal" as the default - but I think it should do. This implementation supports "numbering" as the default. This matches with previous behaviour of BaseX, as is expected in pre-existing BaseX tests. For qt4tests this apparently is not relevant.