/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DayPeriodRules.java | 154 for (int startHour = 0; startHour <= 24; ++startHour) { in setDayPeriodForHoursFromCutoffs() 156 if ((cutoffs[startHour] & (1 << CutoffType.AT.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 157 if (startHour == 0 && period == DayPeriod.MIDNIGHT) { in setDayPeriodForHoursFromCutoffs() 159 } else if (startHour == 12 && period == DayPeriod.NOON) { in setDayPeriodForHoursFromCutoffs() 167 if ((cutoffs[startHour] & (1 << CutoffType.FROM.ordinal())) > 0 || in setDayPeriodForHoursFromCutoffs() 168 (cutoffs[startHour] & (1 << CutoffType.AFTER.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 169 for (int hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() 170 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs() 177 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs() 271 int startHour = getStartHourForDayPeriod(dayPeriod); in getMidPointForDayPeriod() local [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | DayPeriodRules.java | 161 for (int startHour = 0; startHour <= 24; ++startHour) { in setDayPeriodForHoursFromCutoffs() 163 if ((cutoffs[startHour] & (1 << CutoffType.AT.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 164 if (startHour == 0 && period == DayPeriod.MIDNIGHT) { in setDayPeriodForHoursFromCutoffs() 166 } else if (startHour == 12 && period == DayPeriod.NOON) { in setDayPeriodForHoursFromCutoffs() 174 if ((cutoffs[startHour] & (1 << CutoffType.FROM.ordinal())) > 0 || in setDayPeriodForHoursFromCutoffs() 175 (cutoffs[startHour] & (1 << CutoffType.AFTER.ordinal())) > 0) { in setDayPeriodForHoursFromCutoffs() 176 for (int hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() 177 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs() 184 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs() 278 int startHour = getStartHourForDayPeriod(dayPeriod); in getMidPointForDayPeriod() local [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | dayperiodrules.cpp | 195 for (int32_t startHour = 0; startHour <= 24; ++startHour) { in setDayPeriodForHoursFromCutoffs() local 197 if (cutoffs[startHour] & (1 << CUTOFF_TYPE_AT)) { in setDayPeriodForHoursFromCutoffs() 198 if (startHour == 0 && period == DayPeriodRules::DAYPERIOD_MIDNIGHT) { in setDayPeriodForHoursFromCutoffs() 200 } else if (startHour == 12 && period == DayPeriodRules::DAYPERIOD_NOON) { in setDayPeriodForHoursFromCutoffs() 209 if (cutoffs[startHour] & (1 << CUTOFF_TYPE_FROM) || in setDayPeriodForHoursFromCutoffs() 210 cutoffs[startHour] & (1 << CUTOFF_TYPE_AFTER)) { in setDayPeriodForHoursFromCutoffs() 211 for (int32_t hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() 212 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs() 219 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs() 394 int32_t startHour = getStartHourForDayPeriod(dayPeriod, errorCode); in getMidPointForDayPeriod() local [all …]
|
D | dayperiodrules.h | 67 void add(int32_t startHour, int32_t limitHour, DayPeriod period);
|
/third_party/icu/icu4c/source/i18n/ |
D | dayperiodrules.cpp | 195 for (int32_t startHour = 0; startHour <= 24; ++startHour) { in setDayPeriodForHoursFromCutoffs() local 197 if (cutoffs[startHour] & (1 << CUTOFF_TYPE_AT)) { in setDayPeriodForHoursFromCutoffs() 198 if (startHour == 0 && period == DayPeriodRules::DAYPERIOD_MIDNIGHT) { in setDayPeriodForHoursFromCutoffs() 200 } else if (startHour == 12 && period == DayPeriodRules::DAYPERIOD_NOON) { in setDayPeriodForHoursFromCutoffs() 209 if (cutoffs[startHour] & (1 << CUTOFF_TYPE_FROM) || in setDayPeriodForHoursFromCutoffs() 210 cutoffs[startHour] & (1 << CUTOFF_TYPE_AFTER)) { in setDayPeriodForHoursFromCutoffs() 211 for (int32_t hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() 212 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs() 219 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs() 394 int32_t startHour = getStartHourForDayPeriod(dayPeriod, errorCode); in getMidPointForDayPeriod() local [all …]
|
D | dayperiodrules.h | 67 void add(int32_t startHour, int32_t limitHour, DayPeriod period);
|
/third_party/node/deps/icu-small/source/i18n/ |
D | dayperiodrules.cpp | 195 for (int32_t startHour = 0; startHour <= 24; ++startHour) { in setDayPeriodForHoursFromCutoffs() local 197 if (cutoffs[startHour] & (1 << CUTOFF_TYPE_AT)) { in setDayPeriodForHoursFromCutoffs() 198 if (startHour == 0 && period == DayPeriodRules::DAYPERIOD_MIDNIGHT) { in setDayPeriodForHoursFromCutoffs() 200 } else if (startHour == 12 && period == DayPeriodRules::DAYPERIOD_NOON) { in setDayPeriodForHoursFromCutoffs() 209 if (cutoffs[startHour] & (1 << CUTOFF_TYPE_FROM) || in setDayPeriodForHoursFromCutoffs() 210 cutoffs[startHour] & (1 << CUTOFF_TYPE_AFTER)) { in setDayPeriodForHoursFromCutoffs() 211 for (int32_t hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() 212 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs() 219 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs() 394 int32_t startHour = getStartHourForDayPeriod(dayPeriod, errorCode); in getMidPointForDayPeriod() local [all …]
|
D | dayperiodrules.h | 67 void add(int32_t startHour, int32_t limitHour, DayPeriod period);
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 580 int startHour = (int)(2.25 * 3600000); in TestRuleAPI() local 583 zone.setStartRule(Calendar.MARCH, 1, 0, startHour); in TestRuleAPI() 589 long marchOne = marchOneStd + startHour; in TestRuleAPI()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
D | TimeZoneTest.java | 584 int startHour = (int)(2.25 * 3600000); in TestRuleAPI() local 587 zone.setStartRule(Calendar.MARCH, 1, 0, startHour); in TestRuleAPI() 593 long marchOne = marchOneStd + startHour; in TestRuleAPI()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tztest.cpp | 195 int32_t startHour = (int32_t)(2.25 * 3600000); in TestRuleAPI() local 198 zone->setStartRule(UCAL_MARCH, 1, 0, startHour, status); in TestRuleAPI() 205 UDate marchOne = marchOneStd + startHour; in TestRuleAPI()
|