Home
last modified time | relevance | path

Searched refs:DayPeriodRules (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/i18n/
Ddayperiodrules.cpp33 DayPeriodRules *rules;
69 data->rules = new DayPeriodRules[data->maxRuleSetNum + 1]; in put()
91 period = DayPeriodRules::getDayPeriodFromString(key); in processRules()
92 if (period == DayPeriodRules::DAYPERIOD_UNKNOWN) { in processRules()
137 DayPeriodRules::DayPeriod period;
193 DayPeriodRules &rule = data->rules[ruleSetNum]; in setDayPeriodForHoursFromCutoffs()
198 if (startHour == 0 && period == DayPeriodRules::DAYPERIOD_MIDNIGHT) { in setDayPeriodForHoursFromCutoffs()
200 } else if (startHour == 12 && period == DayPeriodRules::DAYPERIOD_NOON) { in setDayPeriodForHoursFromCutoffs()
316 void U_CALLCONV DayPeriodRules::load(UErrorCode &errorCode) { in load()
336 const DayPeriodRules *DayPeriodRules::getInstance(const Locale &locale, UErrorCode &errorCode) { in getInstance()
[all …]
Ddayperiodrules.h30 class DayPeriodRules : public UMemory {
49 static const DayPeriodRules *getInstance(const Locale &locale, UErrorCode &errorCode);
59 DayPeriodRules();
Dsmpdtfmt.cpp1936 … const DayPeriodRules *ruleSet = DayPeriodRules::getInstance(this->getSmpFmtLocale(), status); in subFormat()
1963 DayPeriodRules::DayPeriod periodType; in subFormat()
1965 periodType = DayPeriodRules::DAYPERIOD_MIDNIGHT; in subFormat()
1967 periodType = DayPeriodRules::DAYPERIOD_NOON; in subFormat()
1974 U_ASSERT(periodType != DayPeriodRules::DAYPERIOD_UNKNOWN); in subFormat()
1981 if (periodType != DayPeriodRules::DAYPERIOD_AM && in subFormat()
1982 periodType != DayPeriodRules::DAYPERIOD_PM && in subFormat()
1983 periodType != DayPeriodRules::DAYPERIOD_MIDNIGHT) { in subFormat()
1999 (periodType == DayPeriodRules::DAYPERIOD_MIDNIGHT || in subFormat()
2000 periodType == DayPeriodRules::DAYPERIOD_NOON)) { in subFormat()
[all …]
/external/icu/libicu/cts_headers/
Ddayperiodrules.h30 class DayPeriodRules : public UMemory {
49 static const DayPeriodRules *getInstance(const Locale &locale, UErrorCode &errorCode);
59 DayPeriodRules();
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDayPeriodRules.java22 public final class DayPeriodRules { class
76 DayPeriodRules[] rules;
107 data.rules[ruleSetNum] = new DayPeriodRules(); in processRules()
160 DayPeriodRules rule = data.rules[ruleSetNum]; in setDayPeriodForHoursFromCutoffs()
239 private DayPeriodRules() { in DayPeriodRules() method in DayPeriodRules
251 public static DayPeriodRules getInstance(ULocale locale) { in getInstance()
306 data.rules = new DayPeriodRules[data.maxRuleSetNum + 1]; in loadData()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java18 public final class DayPeriodRules { class
69 DayPeriodRules[] rules;
100 data.rules[ruleSetNum] = new DayPeriodRules(); in processRules()
153 DayPeriodRules rule = data.rules[ruleSetNum]; in setDayPeriodForHoursFromCutoffs()
232 private DayPeriodRules() { in DayPeriodRules() method in DayPeriodRules
244 public static DayPeriodRules getInstance(ULocale locale) { in getInstance()
299 data.rules = new DayPeriodRules[data.maxRuleSetNum + 1]; in loadData()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java30 import android.icu.impl.DayPeriodRules;
1951 DayPeriodRules ruleSet = DayPeriodRules.getInstance(getLocale()); in subFormat()
1970 DayPeriodRules.DayPeriod periodType; in subFormat()
1972 periodType = DayPeriodRules.DayPeriod.MIDNIGHT; in subFormat()
1974 periodType = DayPeriodRules.DayPeriod.NOON; in subFormat()
1988 … if (periodType != DayPeriodRules.DayPeriod.AM && periodType != DayPeriodRules.DayPeriod.PM && in subFormat()
1989 periodType != DayPeriodRules.DayPeriod.MIDNIGHT) { in subFormat()
2006 (periodType == DayPeriodRules.DayPeriod.MIDNIGHT || in subFormat()
2007 periodType == DayPeriodRules.DayPeriod.NOON)) { in subFormat()
2021 if (periodType == DayPeriodRules.DayPeriod.AM || in subFormat()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java29 import com.ibm.icu.impl.DayPeriodRules;
1963 DayPeriodRules ruleSet = DayPeriodRules.getInstance(getLocale()); in subFormat()
1982 DayPeriodRules.DayPeriod periodType; in subFormat()
1984 periodType = DayPeriodRules.DayPeriod.MIDNIGHT; in subFormat()
1986 periodType = DayPeriodRules.DayPeriod.NOON; in subFormat()
2000 … if (periodType != DayPeriodRules.DayPeriod.AM && periodType != DayPeriodRules.DayPeriod.PM && in subFormat()
2001 periodType != DayPeriodRules.DayPeriod.MIDNIGHT) { in subFormat()
2018 (periodType == DayPeriodRules.DayPeriod.MIDNIGHT || in subFormat()
2019 periodType == DayPeriodRules.DayPeriod.NOON)) { in subFormat()
2033 if (periodType == DayPeriodRules.DayPeriod.AM || in subFormat()
[all …]
/external/icu/icu4j/
Dcoverage-exclusion.txt122 com/ibm/icu/impl/DayPeriodRules$CutoffType#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/impl/DayPeriodR…
123 com/ibm/icu/impl/DayPeriodRules$CutoffType#values:()[Lcom/ibm/icu/impl/DayPeriodRules$CutoffType;
124 com/ibm/icu/impl/DayPeriodRules$DayPeriod#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/impl/DayPeriodRu…
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...