Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/tool/
DCldrVersion.java26 public enum CldrVersion { enum
42 public static CldrVersion from(VersionInfo versionInfo) { in from()
47 CldrVersion result = versionInfoToCldrVersion.get(versionInfo); in from()
57 public static CldrVersion from(String versionString) { in from()
72 public boolean isOlderThan(CldrVersion other) { in isOlderThan()
76 private CldrVersion() { in CldrVersion() method in CldrVersion
90 public static final CldrVersion LAST_RELEASE_VERSION = values()[values().length-2];
91 public static final List<CldrVersion> CLDR_VERSIONS_ASCENDING;
92 public static final List<CldrVersion> CLDR_VERSIONS_DESCENDING;
93 private static final Map<VersionInfo, CldrVersion> versionInfoToCldrVersion;
[all …]
DGenerateBirth.java46 …private static final List<CldrVersion> VERSIONS_WITH_TRUNK_DESCENDING = CldrVersion.CLDR_VERSIONS_…
48 static final CldrVersion[] VERSIONS = VERSIONS_WITH_TRUNK_DESCENDING.toArray(
49 … new CldrVersion[VERSIONS_WITH_TRUNK_DESCENDING.size()]); // hack for now; should change to list
56 ….add("log", ".*", CLDRPaths.AUX_DIRECTORY + "births/" + CldrVersion.trunk.getVersionInfo().getVers…
70 CldrVersion.checkVersions(); // verify versions up to date in main()
84 for (CldrVersion version : VERSIONS) { in main()
85 if (version == CldrVersion.unknown) { in main()
115 Map<Long, Pair<CldrVersion, String>> pathToPrevious = new HashMap<>(); in main()
120 …for (Entry<String, R3<CldrVersion, String, String>> entry : english.pathToBirthCurrentPrevious.ent… in main()
123 CldrVersion birth = entry.getValue().get0(); in main()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestOutdatedPaths.java9 import org.unicode.cldr.tool.CldrVersion;
28 Multimap<CldrVersion, String> birthToPaths = TreeMultimap.create(); in TestBirths()
30 CldrVersion birth = outdatedPaths.getEnglishBirth(path); in TestBirths()
31 if (birth == null) birth = CldrVersion.unknown; in TestBirths()
35 for (Entry<CldrVersion, Collection<String>> entry : birthToPaths.asMap().entrySet()) { in TestBirths()
DTestBasic.java24 import org.unicode.cldr.tool.CldrVersion;
1137 final String oldCommon = CldrVersion.v22_1.getBaseDirectory() + "/common"; in TestBasicDTDCompatibility()
1322 for (CldrVersion version : CldrVersion.CLDR_VERSIONS_DESCENDING) { in TestDtdCompatibility()
1323 if (version == CldrVersion.unknown || version == CldrVersion.trunk) { in TestDtdCompatibility()
1334 tooOld = version.isOlderThan(CldrVersion.v1_7_2); in TestDtdCompatibility()
1338 tooOld = version.isOlderThan(CldrVersion.v22_1); in TestDtdCompatibility()
/external/cldr/tools/java/org/unicode/cldr/test/
DOutdatedPaths.java16 import org.unicode.cldr.tool.CldrVersion;
56 private final Map<Long, Pair<CldrVersion,String>> pathToBirthNPrevious = new HashMap<>();
119 Map<Long, Pair<CldrVersion, String>> pathToBirthNPrevious2) { in readBirthValues() argument
134 CldrVersion birth = CldrVersion.from(dataIn.readUTF()); in readBirthValues()
233 Pair<CldrVersion, String> value = pathToBirthNPrevious.get(id); in getPreviousEnglish()
237 public CldrVersion getEnglishBirth(String distinguishedPath) { in getEnglishBirth()
239 Pair<CldrVersion, String> value = pathToBirthNPrevious.get(id); in getEnglishBirth()