mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 09:45:26 +00:00
ICU-72 esperanto number spellout rules added
X-SVN-Rev: 5997
This commit is contained in:
parent
b9eab6a5b2
commit
89bb2f6825
2 changed files with 112 additions and 0 deletions
56
icu4j/src/com/ibm/icu/impl/data/NumberFormatRules_eo.java
Executable file
56
icu4j/src/com/ibm/icu/impl/data/NumberFormatRules_eo.java
Executable file
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2001, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
||||
package com.ibm.text.resources;
|
||||
|
||||
import java.util.ListResourceBundle;
|
||||
|
||||
/**
|
||||
* RuleBasedNumberFormat data for Esperanto
|
||||
*
|
||||
* @author Doug Felt
|
||||
* @version %W% %E%
|
||||
*/
|
||||
public class NumberFormatRules_eo extends ListResourceBundle {
|
||||
/**
|
||||
* Puts a copyright in the .class file
|
||||
*/
|
||||
private static final String copyrightNotice
|
||||
= "Copyright \u00a92001 IBM Corp. All rights reserved.";
|
||||
|
||||
public Object[][] getContents() {
|
||||
return contents;
|
||||
}
|
||||
|
||||
Object[][] contents = {
|
||||
/**
|
||||
* Spellout rules for Esperanto.
|
||||
* data from 'Esperanto-programita 1' courtesy of Markus Scherer
|
||||
*/
|
||||
{ "SpelloutRules",
|
||||
"-x: minus >>;\n" +
|
||||
"x.x: << komo >>;\n" +
|
||||
"nulo; unu; du; tri; kvar; kvin; ses; sep; ok; na\u016d;\n" +
|
||||
"10: dek[ >>];\n" +
|
||||
"20: <<dek[ >>];\n" +
|
||||
"100: cent[ >>];\n" +
|
||||
"200: <<cent[ >>];\n" +
|
||||
"1000: mil[ >>];\n" +
|
||||
"2000: <<mil[ >>];\n" +
|
||||
"10000: dekmil[ >>];\n" +
|
||||
"11000>: << mil[ >>];\n" +
|
||||
"1,000,000: miliono[ >>];\n" +
|
||||
"2,000,000: << milionoj[ >>];\n" +
|
||||
"1,000,000,000: miliardo[ >>];\n" +
|
||||
"2,000,000,000: << miliardoj[ >>];\n" +
|
||||
"1,000,000,000,000: biliono[ >>];\n" +
|
||||
"2,000,000,000,000: << bilionoj[ >>];\n" +
|
||||
"1,000,000,000,000,000: =#,##0=;\n"
|
||||
}
|
||||
};
|
||||
}
|
||||
|
56
icu4j/src/com/ibm/text/resources/NumberFormatRules_eo.java
Executable file
56
icu4j/src/com/ibm/text/resources/NumberFormatRules_eo.java
Executable file
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2001, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
||||
package com.ibm.text.resources;
|
||||
|
||||
import java.util.ListResourceBundle;
|
||||
|
||||
/**
|
||||
* RuleBasedNumberFormat data for Esperanto
|
||||
*
|
||||
* @author Doug Felt
|
||||
* @version %W% %E%
|
||||
*/
|
||||
public class NumberFormatRules_eo extends ListResourceBundle {
|
||||
/**
|
||||
* Puts a copyright in the .class file
|
||||
*/
|
||||
private static final String copyrightNotice
|
||||
= "Copyright \u00a92001 IBM Corp. All rights reserved.";
|
||||
|
||||
public Object[][] getContents() {
|
||||
return contents;
|
||||
}
|
||||
|
||||
Object[][] contents = {
|
||||
/**
|
||||
* Spellout rules for Esperanto.
|
||||
* data from 'Esperanto-programita 1' courtesy of Markus Scherer
|
||||
*/
|
||||
{ "SpelloutRules",
|
||||
"-x: minus >>;\n" +
|
||||
"x.x: << komo >>;\n" +
|
||||
"nulo; unu; du; tri; kvar; kvin; ses; sep; ok; na\u016d;\n" +
|
||||
"10: dek[ >>];\n" +
|
||||
"20: <<dek[ >>];\n" +
|
||||
"100: cent[ >>];\n" +
|
||||
"200: <<cent[ >>];\n" +
|
||||
"1000: mil[ >>];\n" +
|
||||
"2000: <<mil[ >>];\n" +
|
||||
"10000: dekmil[ >>];\n" +
|
||||
"11000>: << mil[ >>];\n" +
|
||||
"1,000,000: miliono[ >>];\n" +
|
||||
"2,000,000: << milionoj[ >>];\n" +
|
||||
"1,000,000,000: miliardo[ >>];\n" +
|
||||
"2,000,000,000: << miliardoj[ >>];\n" +
|
||||
"1,000,000,000,000: biliono[ >>];\n" +
|
||||
"2,000,000,000,000: << bilionoj[ >>];\n" +
|
||||
"1,000,000,000,000,000: =#,##0=;\n"
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue