Home
last modified time | relevance | path

Searched refs:NameFormatter (Results 1 – 1 of 1) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRLocale.java35 public interface NameFormatter { interface in CLDRLocale
49 public static class SimpleFormatter implements NameFormatter {
551 public String getDisplayName(NameFormatter displayLocale) {
557 …private static Cache<ULocale, NameFormatter> defaultFormatters = CacheBuilder.newBuilder().initial…
558 private static NameFormatter gDefaultFormatter = getSimpleFormatterFor(ULocale.getDefault());
560 public static NameFormatter getSimpleFormatterFor(ULocale loc) {
570 return defaultFormatters.get(loc, new Callable<NameFormatter>() {
573 public NameFormatter call() throws Exception {
587 public static NameFormatter getDefaultFormatter() {
591 public static NameFormatter setDefaultFormatter(NameFormatter nf) {
[all …]