/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ChineseDateFormatSymbols.java | 17 import android.icu.util.ULocale; 18 import android.icu.util.ULocale.Category; 49 this(ULocale.getDefault(Category.FORMAT)); 59 super(ChineseCalendar.class, ULocale.forLocale(locale)); 68 public ChineseDateFormatSymbols(ULocale locale) { 91 public ChineseDateFormatSymbols(Calendar cal, ULocale locale) { 111 protected void initializeData(ULocale loc, ICUResourceBundle b, String calendarType) {
|
CurrencyPluralInfo.java | 20 import android.icu.util.ULocale; 21 import android.icu.util.ULocale.Category; 47 initialize(ULocale.getDefault(Category.FORMAT)); 55 initialize(ULocale.forLocale(locale)); 62 public CurrencyPluralInfo(ULocale locale) { 91 public static CurrencyPluralInfo getInstance(ULocale locale) { 135 public ULocale getLocale() { 136 return ulocale; 167 public void setLocale(ULocale loc) { 168 ulocale = loc 317 private ULocale ulocale = null; field in class:CurrencyPluralInfo [all...] |
RuleBasedNumberFormat.java | 29 import android.icu.util.ULocale; 30 import android.icu.util.ULocale.Category; 595 private ULocale locale = null; [all...] |
PluralFormat.java | 23 import android.icu.util.ULocale; 24 import android.icu.util.ULocale.Category; 71 * the constructors that takes a <code>ULocale</code> object. To 140 private ULocale ulocale = null; field in class:PluralFormat 187 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null); 192 * @param ulocale the <code>PluralFormat</code> will be configured with 196 public PluralFormat(ULocale ulocale) { 197 init(null, PluralType.CARDINAL, ulocale, null) [all...] |
TimeUnitFormat.java | 30 import android.icu.util.ULocale; 31 import android.icu.util.ULocale.Category; 49 * format.setLocale(new ULocale("en")); 93 private ULocale locale; 122 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE); 128 * Create TimeUnitFormat given a ULocale, and using full name style. 133 public TimeUnitFormat(ULocale locale) { 148 * Create TimeUnitFormat given a ULocale and a formatting style. 156 public TimeUnitFormat(ULocale locale, int style) { 164 // Needed for getLocale(ULocale.VALID_LOCALE [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ChineseDateFormatSymbols.java | 16 import com.ibm.icu.util.ULocale; 17 import com.ibm.icu.util.ULocale.Category; 47 this(ULocale.getDefault(Category.FORMAT)); 57 super(ChineseCalendar.class, ULocale.forLocale(locale)); 66 public ChineseDateFormatSymbols(ULocale locale) { 89 public ChineseDateFormatSymbols(Calendar cal, ULocale locale) { 109 protected void initializeData(ULocale loc, ICUResourceBundle b, String calendarType) {
|
CurrencyPluralInfo.java | 19 import com.ibm.icu.util.ULocale; 20 import com.ibm.icu.util.ULocale.Category; 49 initialize(ULocale.getDefault(Category.FORMAT)); 58 initialize(ULocale.forLocale(locale)); 66 public CurrencyPluralInfo(ULocale locale) { 98 public static CurrencyPluralInfo getInstance(ULocale locale) { 146 public ULocale getLocale() { 147 return ulocale; 181 public void setLocale(ULocale loc) { 182 ulocale = loc 334 private ULocale ulocale = null; field in class:CurrencyPluralInfo [all...] |
RuleBasedNumberFormat.java | 28 import com.ibm.icu.util.ULocale; 29 import com.ibm.icu.util.ULocale.Category; 598 private ULocale locale = null; [all...] |
PluralFormat.java | 22 import com.ibm.icu.util.ULocale; 23 import com.ibm.icu.util.ULocale.Category; 70 * the constructors that takes a <code>ULocale</code> object. To 140 private ULocale ulocale = null; field in class:PluralFormat 188 init(null, PluralType.CARDINAL, ULocale.getDefault(Category.FORMAT), null); 193 * @param ulocale the <code>PluralFormat</code> will be configured with 198 public PluralFormat(ULocale ulocale) { 199 init(null, PluralType.CARDINAL, ulocale, null) [all...] |
TimeUnitFormat.java | 29 import com.ibm.icu.util.ULocale; 30 import com.ibm.icu.util.ULocale.Category; 48 * format.setLocale(new ULocale("en")); 91 private ULocale locale; 120 mf = MeasureFormat.getInstance(ULocale.getDefault(), FormatWidth.WIDE); 126 * Create TimeUnitFormat given a ULocale, and using full name style. 131 public TimeUnitFormat(ULocale locale) { 146 * Create TimeUnitFormat given a ULocale and a formatting style. 154 public TimeUnitFormat(ULocale locale, int style) { 162 // Needed for getLocale(ULocale.VALID_LOCALE [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CECalendar.java | 15 import android.icu.util.ULocale.Category; 60 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 70 this(zone, ULocale.getDefault(Category.FORMAT)); 89 protected CECalendar(ULocale locale) { 114 protected CECalendar(TimeZone zone, ULocale locale) { 131 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 142 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 161 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
|
DangiCalendar.java | 14 import android.icu.util.ULocale.Category; 93 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 106 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 120 public DangiCalendar(TimeZone zone, ULocale locale) {
|
PersianCalendar.java | 16 import android.icu.util.ULocale.Category; 57 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a 58 * <code>ULocale</code> with the tag <code>"@calendar=persian"</code>.</p> 113 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 128 this(zone, ULocale.getDefault(Category.FORMAT)); 150 * @param locale the given ulocale. 156 public PersianCalendar(ULocale locale) 183 * @param locale the given ulocale. 189 public PersianCalendar(TimeZone zone, ULocale locale) 207 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
EthiopicCalendar.java | 17 import android.icu.util.ULocale.Category; 23 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 144 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 154 this(zone, ULocale.getDefault(Category.FORMAT)); 173 public EthiopicCalendar(ULocale locale) { 185 this(zone, ULocale.forLocale(aLocale)); 195 public EthiopicCalendar(TimeZone zone, ULocale locale) { 375 private void setCalcTypeForLocale(ULocale locale) {
|
GregorianCalendar.java | 14 import android.icu.util.ULocale.Category; 165 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 334 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 344 this(zone, ULocale.getDefault(Category.FORMAT)); 359 * @param locale the given ulocale. 361 public GregorianCalendar(ULocale locale) { 380 * @param locale the given ulocale. 382 public GregorianCalendar(TimeZone zone, ULocale locale) { 397 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
HebrewCalendar.java | 15 import android.icu.util.ULocale.Category; 67 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 271 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 282 this(zone, ULocale.getDefault(Category.FORMAT)); 301 public HebrewCalendar(ULocale locale) { 326 public HebrewCalendar(TimeZone zone, ULocale locale) { 344 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 358 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 383 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
IndianCalendar.java | 16 import android.icu.util.ULocale.Category; 62 * {@link android.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 150 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 161 this(zone, ULocale.getDefault(Category.FORMAT)); 178 * @param locale the given ulocale. 180 public IndianCalendar(ULocale locale) { 203 * @param locale the given ulocale. 205 public IndianCalendar(TimeZone zone, ULocale locale) { 218 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CECalendar.java | 14 import com.ibm.icu.util.ULocale.Category; 59 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 69 this(zone, ULocale.getDefault(Category.FORMAT)); 88 protected CECalendar(ULocale locale) { 113 protected CECalendar(TimeZone zone, ULocale locale) { 130 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 141 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 160 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT));
|
DangiCalendar.java | 13 import com.ibm.icu.util.ULocale.Category; 91 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 104 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 118 public DangiCalendar(TimeZone zone, ULocale locale) {
|
PersianCalendar.java | 15 import com.ibm.icu.util.ULocale.Category; 56 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a 57 * <code>ULocale</code> with the tag <code>"@calendar=persian"</code>.</p> 111 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 126 this(zone, ULocale.getDefault(Category.FORMAT)); 148 * @param locale the given ulocale. 154 public PersianCalendar(ULocale locale) 181 * @param locale the given ulocale. 187 public PersianCalendar(TimeZone zone, ULocale locale) 205 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
EthiopicCalendar.java | 16 import com.ibm.icu.util.ULocale.Category; 22 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 158 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 169 this(zone, ULocale.getDefault(Category.FORMAT)); 190 public EthiopicCalendar(ULocale locale) { 203 this(zone, ULocale.forLocale(aLocale)); 214 public EthiopicCalendar(TimeZone zone, ULocale locale) { 401 private void setCalcTypeForLocale(ULocale locale) {
|
GregorianCalendar.java | 13 import com.ibm.icu.util.ULocale.Category; 164 * {@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a <code>ULocale</code> 340 this(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)); 351 this(zone, ULocale.getDefault(Category.FORMAT)); 367 * @param locale the given ulocale. 370 public GregorianCalendar(ULocale locale) { 390 * @param locale the given ulocale. 393 public GregorianCalendar(TimeZone zone, ULocale locale) { 409 super(TimeZone.getDefault(), ULocale.getDefault(Category.FORMAT)) [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
ULocaleTest.java | 15 import com.ibm.icu.util.ULocale; 16 import com.ibm.icu.util.ULocale.Category; 23 private ULocale longULocale; 36 longULocale = new ULocale(longULocaleName); 37 sampleLocale = new ULocale(sampleName).toLocale(); 41 * Test method for 'com.ibm.icu.x.util.ULocale.hashCode()' 44 ULocale obj = ULocale.GERMANY; 45 ULocale eq = new ULocale("de_DE") [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDateFormat.java | 32 import android.icu.util.ULocale; 64 localeTest(ULocale.getDefault(), "Default Locale"); 68 private void localeTest(final ULocale locale, final String localeName) { 167 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale.ACTUAL_LOCALE)); 237 final ULocale[] locales = DateFormat.getAvailableULocales(); 253 ULocale[] locales; 255 locales = new ULocale[] { 256 new ULocale("bg_BG"), 257 new ULocale("fr_CA"), 258 new ULocale("zh_TW") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDateFormat.java | 31 import com.ibm.icu.util.ULocale; 63 localeTest(ULocale.getDefault(), "Default Locale"); 67 private void localeTest(final ULocale locale, final String localeName) { 166 errln("********** FAIL: Parse of " + string[i-1] + " failed for locale: "+fFormat.getLocale(ULocale.ACTUAL_LOCALE)); 236 final ULocale[] locales = DateFormat.getAvailableULocales(); 252 ULocale[] locales; 254 locales = new ULocale[] { 255 new ULocale("bg_BG"), 256 new ULocale("fr_CA"), 257 new ULocale("zh_TW") [all...] |