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.cpp1856 … const DayPeriodRules *ruleSet = DayPeriodRules::getInstance(this->getSmpFmtLocale(), status); in subFormat()
1881 DayPeriodRules::DayPeriod periodType; in subFormat()
1883 periodType = DayPeriodRules::DAYPERIOD_MIDNIGHT; in subFormat()
1885 periodType = DayPeriodRules::DAYPERIOD_NOON; in subFormat()
1892 U_ASSERT(periodType != DayPeriodRules::DAYPERIOD_UNKNOWN); in subFormat()
1899 if (periodType != DayPeriodRules::DAYPERIOD_AM && in subFormat()
1900 periodType != DayPeriodRules::DAYPERIOD_PM && in subFormat()
1901 periodType != DayPeriodRules::DAYPERIOD_MIDNIGHT) { in subFormat()
1917 (periodType == DayPeriodRules::DAYPERIOD_MIDNIGHT || in subFormat()
1918 periodType == DayPeriodRules::DAYPERIOD_NOON)) { in subFormat()
[all …]
/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/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/text/
DSimpleDateFormat.java29 import com.ibm.icu.impl.DayPeriodRules;
1939 DayPeriodRules ruleSet = DayPeriodRules.getInstance(getLocale()); in subFormat()
1955 DayPeriodRules.DayPeriod periodType; in subFormat()
1957 periodType = DayPeriodRules.DayPeriod.MIDNIGHT; in subFormat()
1959 periodType = DayPeriodRules.DayPeriod.NOON; in subFormat()
1973 … if (periodType != DayPeriodRules.DayPeriod.AM && periodType != DayPeriodRules.DayPeriod.PM && in subFormat()
1974 periodType != DayPeriodRules.DayPeriod.MIDNIGHT) { in subFormat()
1991 (periodType == DayPeriodRules.DayPeriod.MIDNIGHT || in subFormat()
1992 periodType == DayPeriodRules.DayPeriod.NOON)) { in subFormat()
2006 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;
1929 DayPeriodRules ruleSet = DayPeriodRules.getInstance(getLocale()); in subFormat()
1945 DayPeriodRules.DayPeriod periodType; in subFormat()
1947 periodType = DayPeriodRules.DayPeriod.MIDNIGHT; in subFormat()
1949 periodType = DayPeriodRules.DayPeriod.NOON; in subFormat()
1963 … if (periodType != DayPeriodRules.DayPeriod.AM && periodType != DayPeriodRules.DayPeriod.PM && in subFormat()
1964 periodType != DayPeriodRules.DayPeriod.MIDNIGHT) { in subFormat()
1981 (periodType == DayPeriodRules.DayPeriod.MIDNIGHT || in subFormat()
1982 periodType == DayPeriodRules.DayPeriod.NOON)) { in subFormat()
1996 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/icu/icu4j/tools/build/
Dicu4j57.api3.gz