Home
last modified time | relevance | path

Searched refs:DayPeriodRules (Results 1 – 9 of 9) 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.cpp1867 … const DayPeriodRules *ruleSet = DayPeriodRules::getInstance(this->getSmpFmtLocale(), status); in subFormat()
1892 DayPeriodRules::DayPeriod periodType; in subFormat()
1894 periodType = DayPeriodRules::DAYPERIOD_MIDNIGHT; in subFormat()
1896 periodType = DayPeriodRules::DAYPERIOD_NOON; in subFormat()
1903 U_ASSERT(periodType != DayPeriodRules::DAYPERIOD_UNKNOWN); in subFormat()
1910 if (periodType != DayPeriodRules::DAYPERIOD_AM && in subFormat()
1911 periodType != DayPeriodRules::DAYPERIOD_PM && in subFormat()
1912 periodType != DayPeriodRules::DAYPERIOD_MIDNIGHT) { in subFormat()
1928 (periodType == DayPeriodRules::DAYPERIOD_MIDNIGHT || in subFormat()
1929 periodType == DayPeriodRules::DAYPERIOD_NOON)) { in subFormat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDayPeriodRules.java22 public final class DayPeriodRules { class
73 DayPeriodRules[] rules;
104 data.rules[ruleSetNum] = new DayPeriodRules(); in processRules()
157 DayPeriodRules rule = data.rules[ruleSetNum]; in setDayPeriodForHoursFromCutoffs()
236 private DayPeriodRules() { in DayPeriodRules() method in DayPeriodRules
248 public static DayPeriodRules getInstance(ULocale locale) { in getInstance()
303 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/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java29 import com.ibm.icu.impl.DayPeriodRules;
1927 DayPeriodRules ruleSet = DayPeriodRules.getInstance(getLocale()); in subFormat()
1943 DayPeriodRules.DayPeriod periodType; in subFormat()
1945 periodType = DayPeriodRules.DayPeriod.MIDNIGHT; in subFormat()
1947 periodType = DayPeriodRules.DayPeriod.NOON; in subFormat()
1961 … if (periodType != DayPeriodRules.DayPeriod.AM && periodType != DayPeriodRules.DayPeriod.PM && in subFormat()
1962 periodType != DayPeriodRules.DayPeriod.MIDNIGHT) { in subFormat()
1979 (periodType == DayPeriodRules.DayPeriod.MIDNIGHT || in subFormat()
1980 periodType == DayPeriodRules.DayPeriod.NOON)) { in subFormat()
1994 if (periodType == DayPeriodRules.DayPeriod.AM || in subFormat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java30 import android.icu.impl.DayPeriodRules;
1917 DayPeriodRules ruleSet = DayPeriodRules.getInstance(getLocale()); in subFormat()
1933 DayPeriodRules.DayPeriod periodType; in subFormat()
1935 periodType = DayPeriodRules.DayPeriod.MIDNIGHT; in subFormat()
1937 periodType = DayPeriodRules.DayPeriod.NOON; in subFormat()
1951 … if (periodType != DayPeriodRules.DayPeriod.AM && periodType != DayPeriodRules.DayPeriod.PM && in subFormat()
1952 periodType != DayPeriodRules.DayPeriod.MIDNIGHT) { in subFormat()
1969 (periodType == DayPeriodRules.DayPeriod.MIDNIGHT || in subFormat()
1970 periodType == DayPeriodRules.DayPeriod.NOON)) { in subFormat()
1984 if (periodType == DayPeriodRules.DayPeriod.AM || in subFormat()
[all …]
/external/icu/icu4j/
Dcoverage-exclusion.txt120 com/ibm/icu/impl/DayPeriodRules#getEndHourForDayPeriod:(Lcom/ibm/icu/impl/DayPeriodRules$DayPeriod;…
121 com/ibm/icu/impl/DayPeriodRules#getMidPointForDayPeriod:(Lcom/ibm/icu/impl/DayPeriodRules$DayPeriod…
122 com/ibm/icu/impl/DayPeriodRules#getStartHourForDayPeriod:(Lcom/ibm/icu/impl/DayPeriodRules$DayPerio…
123 com/ibm/icu/impl/DayPeriodRules#hasMidnight:()Z
124 com/ibm/icu/impl/DayPeriodRules#hasNoon:()Z
125 com/ibm/icu/impl/DayPeriodRules$CutoffType#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/impl/DayPeriodR…
126 com/ibm/icu/impl/DayPeriodRules$CutoffType#values:()[Lcom/ibm/icu/impl/DayPeriodRules$CutoffType;
127 com/ibm/icu/impl/DayPeriodRules$DayPeriod#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/impl/DayPeriodRu…
/external/icu/icu4j/tools/build/
Dicu4j57.api3.gz