Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/util/
DPreferredAndAllowedHour.java13 public final class PreferredAndAllowedHour implements Comparable<PreferredAndAllowedHour> { class
40 public PreferredAndAllowedHour(char preferred, Collection<Character> allowed) { in PreferredAndAllowedHour() method in PreferredAndAllowedHour
44 public PreferredAndAllowedHour(Collection<HourStyle> allowed) { in PreferredAndAllowedHour() method in PreferredAndAllowedHour
48 public PreferredAndAllowedHour(HourStyle preferred, Collection<HourStyle> allowed) { in PreferredAndAllowedHour() method in PreferredAndAllowedHour
61 public PreferredAndAllowedHour(String preferred2, String allowedString) { in PreferredAndAllowedHour() method in PreferredAndAllowedHour
84 public int compareTo(PreferredAndAllowedHour arg0) { in compareTo()
107 … return obj instanceof PreferredAndAllowedHour && compareTo((PreferredAndAllowedHour) obj) == 0; in equals()
DSupplementalDataInfo.java924 Map<String, PreferredAndAllowedHour> timeData = new HashMap<String, PreferredAndAllowedHour>();
1371 PreferredAndAllowedHour preferredAndAllowedHour = new PreferredAndAllowedHour(preferred,
1374 PreferredAndAllowedHour oldValue = timeData.put(region, preferredAndAllowedHour);
4074 public Map<String, PreferredAndAllowedHour> getTimeData() {
DDateTimeFormats.java46 private static Map<String, PreferredAndAllowedHour> timeData = sdi.getTimeData();
/external/cldr/tools/java/org/unicode/cldr/tool/
DFindPreferredHours.java20 import org.unicode.cldr.util.PreferredAndAllowedHour;
138 if (PreferredAndAllowedHour.HourStyle.isHourCharacter(itemString)) { in main()
186 Relation<PreferredAndAllowedHour, String> preferred2Region = Relation.of( in main()
187 new TreeMap<PreferredAndAllowedHour, Set<String>>(), TreeSet.class); in main()
241 preferred2Region.put(new PreferredAndAllowedHour(preferred, allAllowed), region); in main()
265 for (Entry<PreferredAndAllowedHour, Set<String>> e : preferred2Region.keyValuesSet()) { in main()
266 PreferredAndAllowedHour preferredAndAllowedHour = e.getKey(); in main()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java45 import org.unicode.cldr.util.PreferredAndAllowedHour;
46 import org.unicode.cldr.util.PreferredAndAllowedHour.HourStyle;
792 Map<String, PreferredAndAllowedHour> timeData = SUPPLEMENTAL in TestTimeData()
802 for (Entry<String, PreferredAndAllowedHour> e : timeData.entrySet()) { in TestTimeData()
808 PreferredAndAllowedHour preferredAndAllowedHour = e.getValue(); in TestTimeData()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java40 import org.unicode.cldr.util.PreferredAndAllowedHour;
969 PreferredAndAllowedHour pref = sdi.getTimeData().get(territory); in checkValue()
974 if (pref.preferred.equals(PreferredAndAllowedHour.HourStyle.h)) { in checkValue()