Place the code for BAEL-2876 to java-strings-2 (#6911)
* Add the code for article BAEL-2876 * Move BAEL-2876 from core-java-8-2 to java-strings-2 * Remove ICU from the pom of core-java-8-2 * Replace the char é by its unicode encoding
This commit is contained in:
committed by
maibin
parent
a32176e25b
commit
7eba063308
@@ -0,0 +1,21 @@
|
||||
package com.baeldung.localization;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
public class App {
|
||||
|
||||
/**
|
||||
* Runs all available formatter
|
||||
* @throws ParseException
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
List<Locale> locales = Arrays.asList(new Locale[] { Locale.UK, Locale.ITALY, Locale.FRANCE, Locale.forLanguageTag("pl-PL") });
|
||||
Localization.run(locales);
|
||||
JavaSEFormat.run(locales);
|
||||
ICUFormat.run(locales);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user