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.java30 public interface NameFormatter { interface in CLDRLocale
44 public static class SimpleFormatter implements NameFormatter {
537 public String getDisplayName(NameFormatter displayLocale) {
543 …private static Cache<ULocale, NameFormatter> defaultFormatters = CacheBuilder.newBuilder().initial…
544 private static NameFormatter gDefaultFormatter = getSimpleFormatterFor(ULocale.getDefault());
546 public static NameFormatter getSimpleFormatterFor(ULocale loc) {
556 return defaultFormatters.get(loc, new Callable<NameFormatter>() {
559 public NameFormatter call() throws Exception {
574 public static NameFormatter getDefaultFormatter() {
578 public static NameFormatter setDefaultFormatter(NameFormatter nf) {
[all …]