Searched refs:sdCode (Results 1 – 3 of 3) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | SubdivisionNames.java | 76 public static String getRegionFromSubdivision(String sdCode) { in getRegionFromSubdivision() argument 77 …return sdCode.compareTo("A") < 0 ? sdCode.substring(0, 3) : sdCode.substring(0, 2).toUpperCase(Loc… in getRegionFromSubdivision() 80 public static String getSubregion(String sdCode) { in getSubregion() argument 81 …return sdCode.compareTo("A") < 0 ? sdCode.substring(3) : sdCode.substring(2).toUpperCase(Locale.EN… in getSubregion() 88 public static String toIsoFormat(String sdCode) { in toIsoFormat() argument 89 sdCode = sdCode.toUpperCase(Locale.ENGLISH); in toIsoFormat() 90 int insertion = sdCode.compareTo("A") < 0 ? 3 : 2; in toIsoFormat() 91 return sdCode.substring(0, insertion) + "-" + sdCode.substring(insertion); in toIsoFormat()
|
D | SubdivisionNode.java | 208 …private static void appendName(CLDRFile fileSubdivisions, final String sdCode, String name, String… in appendName() argument 212 String cldrCode = convertToCldr(sdCode); in appendName() 770 final String sdCode = node.code; in printEnglish() local 771 String name = sdset.getBestName(sdCode, true); in printEnglish() 778 SubdivisionNode sd = sdset.ID_TO_NODE.get(sdCode); in printEnglish() 782 SubdivisionSet.appendName(fileSubdivisions, sdCode, name, null); in printEnglish() 783 remainder.remove(sdCode); in printEnglish() 785 for (String sdCode : remainder) { in printEnglish() 786 String name = sdset.getBestName(sdCode, true); in printEnglish() 788 … SubdivisionSet.appendName(fileSubdivisions, sdCode, name, "\t<!-- deprecated -->"); in printEnglish()
|
D | GenerateSubdivisions.java | 53 for (String sdCode : e.getValue()) { 54 final String region = SubdivisionNames.getRegionFromSubdivision(sdCode); 55 formerRegionToSubdivisions.put(region, sdCode); in formerRegionToSubdivisions.put() argument
|