[REQUIREMENT][Service] Extract CLDR pattern to support ordinal number
@huihuiw01 is already working on this.
Since Oct 22, 2021.
- Dominant language
- Java
- Stars
- 72
- Forks
- 69
- Avg merge
- 23h 32m
- Merged PRs (30d)
- 4
Description
Is your feature request related to a problem? Please describe.
Support converting number to ordinal numbers in all supported languages, e.g.: 1, 2, 3, 4 ... -> 1st, 2nd, 3rd, 4th
Describe the solution you'd like
Singleton Service to support the pattern that convert number to oridinal format.
Additional context
CLDR pattern data: https://github.com/unicode-cldr/cldr-rbnf
Document: https://www.unicode.org/reports/tr35/tr35-numbers.html#Rule-Based_Number_Formatting
ICU Detailed Description: https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1RuleBasedNumberFormat.html#details
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.