Home | History | Annotate | Download | only in javaspi
      1 #*
      2 #*******************************************************************************
      3 # Copyright (C) 2016 and later: Unicode, Inc. and others.                      *
      4 # License & terms of use: http://www.unicode.org/copyright.html#License        *
      5 #*******************************************************************************
      6 #*******************************************************************************
      7 #* Copyright (C) 2008-2012, International Business Machines Corporation and    *
      8 #* others. All Rights Reserved.                                                *
      9 #*******************************************************************************
     10 #* This is the properties is used for configuring ICU locale service provider
     11 #* implementation.
     12 #*
     13 
     14 # Whether if Locales with ICU's variant suffix will be included in getAvailableLocales.
     15 # [default: true]
     16 com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.enableIcuVariants = true
     17 
     18 # Suffix string used in Locale's variant field to specify the ICU implementation.
     19 # [default: ICU4J]
     20 com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.icuVariantSuffix = ICU4J
     21 
     22 # Whether if 3-letter language Locales are included in getAvailabeLocales.
     23 # [default: true]
     24 com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.enableIso3Languages = true
     25 
     26 # Whether if java.text.DecimalFormat subclass is used for NumberFormat#getXXXInstance.
     27 # DecimalFormat#format(Object,StringBuffer,FieldPosition) is declared as final, so
     28 # ICU cannot override the implementation.  As a result, some number types such as
     29 # BigInteger/BigDecimal are not handled by the ICU implementation.  If a client expects
     30 # NumberFormat#getXXXInstance returns a DecimalFormat (for example, need to manipulate
     31 # decimal format patterns), he/she can set true to this setting.  However, in this case,
     32 # BigInteger/BigDecimal support is not done by ICU's implementation.
     33 # [default: false]
     34 com.ibm.icu.impl.javaspi.ICULocaleServiceProvider.useDecimalFormat = false
     35