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.java17 public final class PreferredAndAllowedHour implements Comparable<PreferredAndAllowedHour> { class
45 private static final Comparator<PreferredAndAllowedHour> COMPARATOR =
46 Comparator.<PreferredAndAllowedHour, HourStyle>comparing(t -> t.preferred)
61 public PreferredAndAllowedHour(char preferred, Set<Character> allowed) { in PreferredAndAllowedHour() method in PreferredAndAllowedHour
72 public PreferredAndAllowedHour(String preferred, String allowedString) { in PreferredAndAllowedHour() method in PreferredAndAllowedHour
76 private PreferredAndAllowedHour(String preferredStyle, Stream<String> allowedStyles) { in PreferredAndAllowedHour() method in PreferredAndAllowedHour
89 public int compareTo(PreferredAndAllowedHour other) { in compareTo()
111 … return obj instanceof PreferredAndAllowedHour && compareTo((PreferredAndAllowedHour) obj) == 0; in equals()
DSupplementalDataInfo.java953 Map<String, PreferredAndAllowedHour> timeData = new HashMap<>();
1514 PreferredAndAllowedHour preferredAndAllowedHour = new PreferredAndAllowedHour(preferred,
1517 PreferredAndAllowedHour oldValue = timeData.put(region, preferredAndAllowedHour);
4244 public Map<String, PreferredAndAllowedHour> getTimeData() {
DDateTimeFormats.java52 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/java/org/unicode/cldr/test/
DCheckDates.java40 import org.unicode.cldr.util.PreferredAndAllowedHour;
891 PreferredAndAllowedHour pref = sdi.getTimeData().get(territory); in checkValue()
896 if (pref.preferred.equals(PreferredAndAllowedHour.HourStyle.h)) { in checkValue()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java49 import org.unicode.cldr.util.PreferredAndAllowedHour;
50 import org.unicode.cldr.util.PreferredAndAllowedHour.HourStyle;
826 Map<String, PreferredAndAllowedHour> timeData = SUPPLEMENTAL in TestTimeData()
836 for (Entry<String, PreferredAndAllowedHour> e : timeData.entrySet()) { in TestTimeData()
842 PreferredAndAllowedHour preferredAndAllowedHour = e.getValue(); in TestTimeData()