]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - jars/icu4j-52_1/main/classes/core/src/com/ibm/icu/util/LocaleMatcher.java
Upgrade ICU4J.
[Dictionary.git] / jars / icu4j-52_1 / main / classes / core / src / com / ibm / icu / util / LocaleMatcher.java
similarity index 99%
rename from jars/icu4j-4_8_1_1/main/classes/core/src/com/ibm/icu/util/LocaleMatcher.java
rename to jars/icu4j-52_1/main/classes/core/src/com/ibm/icu/util/LocaleMatcher.java
index 427025448c51ef3e997f57cdc0aa67e8291aaccd..26135ea212f33970aa5b39c0711c9ff0b6f998e0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  ****************************************************************************************
- * Copyright (C) 2009-2010, Google, Inc.; International Business Machines Corporation   *
+ * Copyright (C) 2009-2013, Google, Inc.; International Business Machines Corporation   *
  * and others. All Rights Reserved.                                                     *
  ****************************************************************************************
  */
@@ -24,10 +24,10 @@ import com.ibm.icu.impl.Row.R3;
  * example:
  * 
  * <pre>
- * LanguageMatcher matcher = new StandardLanguageMatcher(&quot;fr, en-GB, en&quot;);
+ * LocaleMatcher matcher = new LocaleMatcher("fr, en-GB, en");
  * 
  * // afterwards:
- * matcher.getBestMatch(LanguageCode.US).first == LanguageCode.ENGLISH
+ * matcher.getBestMatch("en-US").toLanguageTag() => "en"
  * </pre>
  * 
  * It takes into account when languages are close to one another, such as fil