Ben,
Can you file a bug? I think these docs really should move out of ICU and into CLDR.
As to your specific questions, just looking at the docs, seeing that < and > are mapped to ← and → :
→→→
- in normal rule : Divide the number by the rule's divisor and format the remainder, but bypass the normal rule-selection process and just use the rule that precedes this one in this rule list.
- in all other rules Not allowed.
so for Japanese ja.xml
<ruleset type="spellout-numbering-year-digits" access="private">
<rbnfrule value="0">=%spellout-numbering=;</rbnfrule>
<rbnfrule value="10">←←→→→;</rbnfrule>
<rbnfrule value="100">←←→→→;</rbnfrule>
<rbnfrule value="1000">←←→→→;</rbnfrule>
</ruleset>
if you have “1234” then you start with the 1000 rule,
perform “←←” (1234÷1000 = 1 R 234) so format “1”
then perform →→→ which means to continue with the prior rule (the ‘100’) with the remainder (234).
Then we have the “100” rule with the same content, so 234÷100=2R34 so format “2” and proceed with the prior rule at 34…
hope this helps.
--
Steven R. Loomis
Code Hive Tx, LLC
https://codehivetx.us
> --
> You received this message because you are subscribed to the Google Groups "CLDR Users Public Mail List" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
cldr-users+...@unicode.org.
> To view this discussion on the web visit
https://groups.google.com/a/unicode.org/d/msgid/cldr-users/d3e24d76-c1a8-44cd-8b40-bd0d1bd63186n%40unicode.org.