EnglishNumberAsWordFormatter ( int caseType ) {
this.caseType = caseType;
}
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
List<String> wl = new ArrayList<String>();
if ( number >= 1000000000000L ) {
FrenchNumberAsWordFormatter ( int caseType ) {
this.caseType = caseType;
}
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
List<String> wl = new ArrayList<String>();
if ( number >= 1000000000000L ) {
SpanishNumberAsWordFormatter ( int caseType ) {
this.caseType = caseType;
}
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
List<String> wl = new ArrayList<String>();
if ( number >= 1000000000000L ) {
"\u2160"
};
private static class RomanNumeralsFormatter implements SpecialNumberFormatter {
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
List<Integer> sl = new ArrayList<Integer>();
if ( number == 0 ) {
* Isopsephry (Greek) Numerals
*/
private static class IsopsephryNumeralsFormatter implements SpecialNumberFormatter {
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
return null;
}
0x05E5, // FINAL TSADHI
};
private class GematriaNumeralsFormatter implements SpecialNumberFormatter {
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
if ( one == 0x05D0 ) {
if ( letterValue == LETTER_VALUE_ALPHABETIC ) {
0x0649, // ALEF MAQSURA
};
private class ArabicNumeralsFormatter implements SpecialNumberFormatter {
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
if ( one == 0x0627 ) {
int[] map;
0x30F3, // N
};
private class KanaNumeralsFormatter implements SpecialNumberFormatter {
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
if ( ( one == 0x3042 ) && ( letterValue == LETTER_VALUE_ALPHABETIC ) ) {
return formatNumberAsSequence ( number, one, hiraganaGojuonAlphabeticMap.length, hiraganaGojuonAlphabeticMap );
0x0E2E,
};
private class ThaiNumeralsFormatter implements SpecialNumberFormatter {
- @Override
public Integer[] format ( long number, int one, int letterValue, String features, String language, String country ) {
if ( ( one == 0x0E01 ) && ( letterValue == LETTER_VALUE_ALPHABETIC ) ) {
return formatNumberAsSequence ( number, one, thaiAlphabeticMap.length, thaiAlphabeticMap );