public class Numberer_tr extends AbstractNumberer
cyrillicLower, cyrillicUpper, greekLower, greekUpper, hebrew, hiraganaA, hiraganaI, katakanaA, katakanaI, latinLower, latinUpper, LOWER_CASE, TITLE_CASE, UPPER_CASE, westernDigits| Constructor and Description |
|---|
Numberer_tr() |
| Modifier and Type | Method and Description |
|---|---|
String |
camelBump(String string) |
String |
dayName(int gun,
int min,
int max)
Get a day name or abbreviation
|
String |
formatWord(String word,
int formatIdx) |
static void |
main(String[] args) |
String |
monthName(int ay,
int min,
int max)
Get a month name or abbreviation
|
String |
numberer(long number,
int format) |
String |
toOrdinalWords(String string,
long l,
int format)
Show an ordinal number as English words in a requested case (for example, Twentyfirst)
|
String |
toWords(long l)
Show the number as words in title case.
|
String |
toWords(long l,
int format)
Format a number as English words with specified case options
|
alphaDefault, convertDigitSystem, defaultedLocale, format, format, getCalendarName, getCountry, getEraName, getOrdinalSuffixForDateTime, halfDayName, ordinalSuffix, setCountry, toAlpha, toAlphaSequence, toJapanese, toRomanpublic String numberer(long number, int format)
public String toWords(long l)
AbstractNumberertoWords in class AbstractNumbererl - the number to be formattedpublic String toWords(long l, int format)
AbstractNumberertoWords in class AbstractNumbererl - the number to be formattedformat - the required case for example AbstractNumberer.UPPER_CASE,
AbstractNumberer.LOWER_CASE, AbstractNumberer.TITLE_CASEpublic String toOrdinalWords(String string, long l, int format)
AbstractNumberertoOrdinalWords in class AbstractNumbererstring - the value of the "ordinal" attribute as supplied by the userl - the number to be formattedformat - the required case for example AbstractNumberer.UPPER_CASE,
AbstractNumberer.LOWER_CASE, AbstractNumberer.TITLE_CASEpublic String monthName(int ay, int min, int max)
AbstractNumberermonthName in interface NumberermonthName in class AbstractNumbereray - The month number (1=January, 12=December)min - The minimum number of charactersmax - The maximum number of characterspublic String dayName(int gun, int min, int max)
AbstractNumbererdayName in interface NumbererdayName in class AbstractNumberergun - The day of the week (1=Monday, 7=Sunday)min - The minimum number of charactersmax - The maximum number of characterspublic static void main(String[] args)
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.