Home
last modified time | relevance | path

Searched refs:HourStyle (Results 1 – 4 of 4) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DPreferredAndAllowedHour.java19 public enum HourStyle { enum in PreferredAndAllowedHour
21 public final HourStyle base;
23 HourStyle() { in HourStyle() method in PreferredAndAllowedHour.HourStyle
27 HourStyle(HourStyle base) { in HourStyle() method in PreferredAndAllowedHour.HourStyle
33 HourStyle.valueOf(c); in isHourCharacter()
46 Comparator.<PreferredAndAllowedHour, HourStyle>comparing(t -> t.preferred)
47 .thenComparing(t -> t.allowed, lexicographical(Comparator.<HourStyle>naturalOrder()));
49 public final HourStyle preferred;
51 public final ImmutableList<HourStyle> allowed;
77 this.preferred = checkNotNull(HourStyle.valueOf(preferredStyle)); in PreferredAndAllowedHour()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java50 import org.unicode.cldr.util.PreferredAndAllowedHour.HourStyle;
834 …ImmutableSet<HourStyle> oldSchool = ImmutableSet.copyOf(EnumSet.of(HourStyle.H, HourStyle.h, HourS… in TestTimeData()
846 HourStyle found = null; in TestTimeData()
848 for (HourStyle item : preferredAndAllowedHour.allowed) { in TestTimeData()
882 if (!preferredAndAllowedHour.allowed.contains(HourStyle.h) in TestTimeData()
883 && !preferredAndAllowedHour.allowed.contains(HourStyle.hb)) { in TestTimeData()
886 if (preferredAndAllowedHour.preferred == HourStyle.h) { in TestTimeData()
/external/cldr/tools/java/org/unicode/cldr/tool/
DFindPreferredHours.java138 if (PreferredAndAllowedHour.HourStyle.isHourCharacter(itemString)) { in main()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDates.java896 if (pref.preferred.equals(PreferredAndAllowedHour.HourStyle.h)) { in checkValue()