Searched refs:sdCode (Results 1 – 3 of 3) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | SubdivisionNames.java | 120 public static String getRegionFromSubdivision(String sdCode) { in getRegionFromSubdivision() argument 121 …return sdCode.compareTo("A") < 0 ? sdCode.substring(0, 3) : sdCode.substring(0, 2).toUpperCase(Loc… in getRegionFromSubdivision() 124 public static String getSubregion(String sdCode) { in getSubregion() argument 125 …return sdCode.compareTo("A") < 0 ? sdCode.substring(3) : sdCode.substring(2).toUpperCase(Locale.EN… in getSubregion() 133 public static String toIsoFormat(String sdCode) { in toIsoFormat() argument 134 sdCode = sdCode.toUpperCase(Locale.ENGLISH); in toIsoFormat() 135 int insertion = sdCode.compareTo("A") < 0 ? 3 : 2; in toIsoFormat() 136 return sdCode.substring(0, insertion) + "-" + sdCode.substring(insertion); in toIsoFormat()
|
D | GenerateSubdivisions.java | 54 for (String sdCode : e.getValue()) { 55 final String region = SubdivisionNames.getRegionFromSubdivision(sdCode); 56 formerRegionToSubdivisions.put(region, sdCode); in formerRegionToSubdivisions.put() argument
|
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() 734 final String sdCode = node.code; in printEnglish() local 735 String name = sdset.getBestName(sdCode, true); in printEnglish() 741 SubdivisionSet.appendName(fileSubdivisions, sdCode, name, null); in printEnglish() 742 remainder.remove(sdCode); in printEnglish() 744 for (String sdCode : remainder) { in printEnglish() 745 String name = sdset.getBestName(sdCode, true); in printEnglish() 747 … SubdivisionSet.appendName(fileSubdivisions, sdCode, name, "\t<!-- deprecated -->"); in printEnglish()
|