Home
last modified time | relevance | path

Searched refs:ruleSetNum (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDayPeriodRules.java106 ruleSetNum = parseSetNum(key.toString()); in processRules()
107 data.rules[ruleSetNum] = new DayPeriodRules(); in processRules()
136 for (DayPeriod period : data.rules[ruleSetNum].dayPeriodForHour) { in processRules()
148 private int ruleSetNum; field in DayPeriodRules.DayPeriodRulesDataSink
160 DayPeriodRules rule = data.rules[ruleSetNum]; in setDayPeriodForHoursFromCutoffs()
255 Integer ruleSetNum = null; in getInstance() local
256 while (ruleSetNum == null) { in getInstance()
257 ruleSetNum = DATA.localesToRuleSetNumMap.get(localeCode); in getInstance()
258 if (ruleSetNum == null) { in getInstance()
269 if (ruleSetNum == null || DATA.rules[ruleSetNum] == null) { in getInstance()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java99 ruleSetNum = parseSetNum(key.toString()); in processRules()
100 data.rules[ruleSetNum] = new DayPeriodRules(); in processRules()
129 for (DayPeriod period : data.rules[ruleSetNum].dayPeriodForHour) { in processRules()
141 private int ruleSetNum; field in DayPeriodRules.DayPeriodRulesDataSink
153 DayPeriodRules rule = data.rules[ruleSetNum]; in setDayPeriodForHoursFromCutoffs()
248 Integer ruleSetNum = null; in getInstance() local
249 while (ruleSetNum == null) { in getInstance()
250 ruleSetNum = DATA.localesToRuleSetNumMap.get(localeCode); in getInstance()
251 if (ruleSetNum == null) { in getInstance()
262 if (ruleSetNum == null || DATA.rules[ruleSetNum] == null) { in getInstance()
[all …]
/external/icu/icu4c/source/i18n/
Ddayperiodrules.cpp86 ruleSetNum = parseSetNum(key, errorCode); in processRules()
125 if (!data->rules[ruleSetNum].allHoursAreSet()) { in processRules()
136 int32_t ruleSetNum; member
193 DayPeriodRules &rule = data->rules[ruleSetNum]; in setDayPeriodForHoursFromCutoffs()
359 int32_t ruleSetNum = 0; // NB there is no rule set 0 and 0 is returned upon lookup failure. in getInstance() local
361 ruleSetNum = uhash_geti(data->localeToRuleSetNumMap, name); in getInstance()
362 if (ruleSetNum == 0) { in getInstance()
375 if (ruleSetNum <= 0 || data->rules[ruleSetNum].getDayPeriodForHour(0) == DAYPERIOD_UNKNOWN) { in getInstance()
380 return &data->rules[ruleSetNum]; in getInstance()