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;1632 DateTimePatternType datetimePatternType = DateTimePatternType.fromPath(xpath);1636 … if (!DateTimePatternType.STOCK_AVAILABLE_INTERVAL_PATTERNS.contains(datetimePatternType)) {
14 import org.unicode.cldr.util.DateTimeCanonicalizer.DateTimePatternType;76 …if (DateTimePatternType.STOCK_AVAILABLE_INTERVAL_PATTERNS.contains(DateTimePatternType.fromPath(pa… in getOrderingInfo()
28 import org.unicode.cldr.util.DateTimeCanonicalizer.DateTimePatternType;519 DateTimePatternType dateTypePatternType = DateTimePatternType.fromPath(path); in handleCheck()520 … if (DateTimePatternType.STOCK_AVAILABLE_INTERVAL_PATTERNS.contains(dateTypePatternType)) { in handleCheck()702 …private void checkPattern(DateTimePatternType dateTypePatternType, String path, String fullPath, S… in checkPattern()735 …if (dateTypePatternType == DateTimePatternType.AVAILABLE || dateTypePatternType == DateTimePattern… in checkPattern()758 if (dateTypePatternType == DateTimePatternType.AVAILABLE) { in checkPattern()777 if (dateTypePatternType == DateTimePatternType.STOCK) { in checkPattern()813 } else if (dateTypePatternType == DateTimePatternType.INTERVAL) { in checkPattern()
22 import org.unicode.cldr.util.DateTimeCanonicalizer.DateTimePatternType;378 DateTimePatternType datetimePatternType = DateTimePatternType.fromPath(path); in processInput()379 … if (DateTimePatternType.STOCK_AVAILABLE_INTERVAL_PATTERNS.contains(datetimePatternType)) { in processInput()