Searched refs:DateTimePatternType (Results 1 – 6 of 6) sorted by relevance
13 public enum DateTimePatternType { enum in DateTimeCanonicalizer16 public static final Set<DateTimePatternType> STOCK_AVAILABLE_INTERVAL_PATTERNS = Collections17 .unmodifiableSet(EnumSet.of(DateTimePatternType.STOCK, DateTimePatternType.AVAILABLE,18 DateTimePatternType.INTERVAL));20 public static DateTimePatternType fromPath(String path) { in fromPath()21 return !path.contains("/dates") ? DateTimePatternType.NA in fromPath()23 ? DateTimePatternType.STOCK in fromPath()24 : path.contains("/dateFormatItem") ? DateTimePatternType.AVAILABLE in fromPath()25 : path.contains("/intervalFormatItem") ? DateTimePatternType.INTERVAL in fromPath()26 : path.contains("/timeZoneNames/hourFormat") ? DateTimePatternType.GMT in fromPath()[all …]
17 import org.unicode.cldr.util.DateTimeCanonicalizer.DateTimePatternType;83 final DateTimePatternType type;86 public Hours(DateTimePatternType type, String variable) { in Hours()129 DateTimePatternType type = DateTimePatternType.fromPath(path); in main()130 if (type == DateTimePatternType.NA || type == DateTimePatternType.GMT) { in main()174 if (hours.type == DateTimePatternType.STOCK) { in main()
45 import org.unicode.cldr.util.DateTimeCanonicalizer.DateTimePatternType;1898 DateTimePatternType datetimePatternType = DateTimePatternType.fromPath(xpath);1902 … if (!DateTimePatternType.STOCK_AVAILABLE_INTERVAL_PATTERNS.contains(datetimePatternType)) {
28 import org.unicode.cldr.util.DateTimeCanonicalizer.DateTimePatternType;547 DateTimePatternType dateTypePatternType = DateTimePatternType.fromPath(path); in handleCheck()548 … if (DateTimePatternType.STOCK_AVAILABLE_INTERVAL_PATTERNS.contains(dateTypePatternType)) { in handleCheck()551 if (dateTypePatternType != DateTimePatternType.INTERVAL) { in handleCheck()734 …private void checkPattern(DateTimePatternType dateTypePatternType, String path, String fullPath, S… in checkPattern()768 …if (dateTypePatternType == DateTimePatternType.AVAILABLE || dateTypePatternType == DateTimePattern… in checkPattern()791 if (dateTypePatternType == DateTimePatternType.AVAILABLE) { in checkPattern()855 if (dateTypePatternType == DateTimePatternType.STOCK) { in checkPattern()891 } else if (dateTypePatternType == DateTimePatternType.INTERVAL) { in checkPattern()
14 import org.unicode.cldr.util.DateTimeCanonicalizer.DateTimePatternType;76 …if (DateTimePatternType.STOCK_AVAILABLE_INTERVAL_PATTERNS.contains(DateTimePatternType.fromPath(pa… in getOrderingInfo()
22 import org.unicode.cldr.util.DateTimeCanonicalizer.DateTimePatternType;361 DateTimePatternType datetimePatternType = DateTimePatternType.fromPath(path); in processInput()362 … if (DateTimePatternType.STOCK_AVAILABLE_INTERVAL_PATTERNS.contains(datetimePatternType)) { in processInput()