Home
last modified time | relevance | path

Searched refs:DayPeriod (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDayPeriodRules.java23 public enum DayPeriod { enum in DayPeriodRules
37 public static DayPeriod[] VALUES = DayPeriod.values();
39 private static DayPeriod fromStringOrNull(CharSequence str) { in fromStringOrNull()
108 period = DayPeriod.fromStringOrNull(key); in processRules()
133 for (DayPeriod period : data.rules[ruleSetNum].dayPeriodForHour) { in processRules()
146 private DayPeriod period;
161 if (startHour == 0 && period == DayPeriod.MIDNIGHT) { in setDayPeriodForHoursFromCutoffs()
163 } else if (startHour == 12 && period == DayPeriod.NOON) { in setDayPeriodForHoursFromCutoffs()
234 private DayPeriod[] dayPeriodForHour;
239 dayPeriodForHour = new DayPeriod[24]; in DayPeriodRules()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java19 public enum DayPeriod { enum in DayPeriodRules
33 public static DayPeriod[] VALUES = DayPeriod.values();
35 private static DayPeriod fromStringOrNull(CharSequence str) { in fromStringOrNull()
104 period = DayPeriod.fromStringOrNull(key); in processRules()
129 for (DayPeriod period : data.rules[ruleSetNum].dayPeriodForHour) { in processRules()
142 private DayPeriod period;
157 if (startHour == 0 && period == DayPeriod.MIDNIGHT) { in setDayPeriodForHoursFromCutoffs()
159 } else if (startHour == 12 && period == DayPeriod.NOON) { in setDayPeriodForHoursFromCutoffs()
230 private DayPeriod[] dayPeriodForHour;
235 dayPeriodForHour = new DayPeriod[24]; in DayPeriodRules()
[all …]
/external/icu/icu4c/source/i18n/
Ddayperiodrules.h33 enum DayPeriod { enum
53 DayPeriod getDayPeriodForHour(int32_t hour) const { return fDayPeriodForHour[hour]; } in getDayPeriodForHour()
56 double getMidPointForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const;
62 static DayPeriod getDayPeriodFromString(const char *type_str);
67 void add(int32_t startHour, int32_t limitHour, DayPeriod period);
74 int32_t getStartHourForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const;
80 int32_t getEndHourForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const;
84 DayPeriod fDayPeriodForHour[24];
Ddayperiodrules.cpp137 DayPeriodRules::DayPeriod period;
391 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getMidPointForDayPeriod()
414 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getStartHourForDayPeriod()
441 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getEndHourForDayPeriod()
468 DayPeriodRules::DayPeriod DayPeriodRules::getDayPeriodFromString(const char *type_str) { in getDayPeriodFromString()
498 void DayPeriodRules::add(int32_t startHour, int32_t limitHour, DayPeriod period) { in add()
Dsmpdtfmt.cpp1895 DayPeriodRules::DayPeriod periodType; in subFormat()
2297 DayPeriodRules::DayPeriod dayPeriod = (DayPeriodRules::DayPeriod)dayPeriodInt; in parse()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java1945 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()
1997 periodType == DayPeriodRules.DayPeriod.PM || in subFormat()
2365 Output<DayPeriodRules.DayPeriod> dayPeriod = new Output<DayPeriodRules.DayPeriod>(null); in parse()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java1955 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()
2007 periodType == DayPeriodRules.DayPeriod.PM || in subFormat()
2378 Output<DayPeriodRules.DayPeriod> dayPeriod = new Output<DayPeriodRules.DayPeriod>(null); in parse()
[all …]
/external/icu/icu4j/
Dcoverage-exclusion.txt124 com/ibm/icu/impl/DayPeriodRules$DayPeriod#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/impl/DayPeriodRu…
/external/icu/icu4j/tools/build/
Dicu4j57.api3.gz