Home
last modified time | relevance | path

Searched refs:dayPeriod (Results 1 – 25 of 165) sorted by relevance

1234567

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDayPeriodRules.java274 public double getMidPointForDayPeriod(DayPeriod dayPeriod) { in getMidPointForDayPeriod() argument
275 int startHour = getStartHourForDayPeriod(dayPeriod); in getMidPointForDayPeriod()
276 int endHour = getEndHourForDayPeriod(dayPeriod); in getMidPointForDayPeriod()
310 private int getStartHourForDayPeriod(DayPeriod dayPeriod) throws IllegalArgumentException { in getStartHourForDayPeriod() argument
311 if (dayPeriod == DayPeriod.MIDNIGHT) { return 0; } in getStartHourForDayPeriod()
312 if (dayPeriod == DayPeriod.NOON) { return 12; } in getStartHourForDayPeriod()
314 if (dayPeriodForHour[0] == dayPeriod && dayPeriodForHour[23] == dayPeriod) { in getStartHourForDayPeriod()
317 if (dayPeriodForHour[i] != dayPeriod) { in getStartHourForDayPeriod()
323 if (dayPeriodForHour[i] == dayPeriod) { in getStartHourForDayPeriod()
333 private int getEndHourForDayPeriod(DayPeriod dayPeriod) { in getEndHourForDayPeriod() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDayPeriodRules.java270 public double getMidPointForDayPeriod(DayPeriod dayPeriod) { in getMidPointForDayPeriod() argument
271 int startHour = getStartHourForDayPeriod(dayPeriod); in getMidPointForDayPeriod()
272 int endHour = getEndHourForDayPeriod(dayPeriod); in getMidPointForDayPeriod()
306 private int getStartHourForDayPeriod(DayPeriod dayPeriod) throws IllegalArgumentException { in getStartHourForDayPeriod() argument
307 if (dayPeriod == DayPeriod.MIDNIGHT) { return 0; } in getStartHourForDayPeriod()
308 if (dayPeriod == DayPeriod.NOON) { return 12; } in getStartHourForDayPeriod()
310 if (dayPeriodForHour[0] == dayPeriod && dayPeriodForHour[23] == dayPeriod) { in getStartHourForDayPeriod()
313 if (dayPeriodForHour[i] != dayPeriod) { in getStartHourForDayPeriod()
319 if (dayPeriodForHour[i] == dayPeriod) { in getStartHourForDayPeriod()
329 private int getEndHourForDayPeriod(DayPeriod dayPeriod) { in getEndHourForDayPeriod() argument
[all …]
/external/icu/icu4c/source/i18n/
Ddayperiodrules.cpp391 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getMidPointForDayPeriod() argument
394 int32_t startHour = getStartHourForDayPeriod(dayPeriod, errorCode); in getMidPointForDayPeriod()
395 int32_t endHour = getEndHourForDayPeriod(dayPeriod, errorCode); in getMidPointForDayPeriod()
414 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getStartHourForDayPeriod() argument
417 if (dayPeriod == DAYPERIOD_MIDNIGHT) { return 0; } in getStartHourForDayPeriod()
418 if (dayPeriod == DAYPERIOD_NOON) { return 12; } in getStartHourForDayPeriod()
420 if (fDayPeriodForHour[0] == dayPeriod && fDayPeriodForHour[23] == dayPeriod) { in getStartHourForDayPeriod()
423 if (fDayPeriodForHour[i] != dayPeriod) { in getStartHourForDayPeriod()
429 if (fDayPeriodForHour[i] == dayPeriod) { in getStartHourForDayPeriod()
441 DayPeriodRules::DayPeriod dayPeriod, UErrorCode &errorCode) const { in getEndHourForDayPeriod() argument
[all …]
Ddayperiodrules.h56 double getMidPointForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const;
74 int32_t getStartHourForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const;
80 int32_t getEndHourForDayPeriod(DayPeriod dayPeriod, UErrorCode &errorCode) const;
/external/icu/icu4c/source/data/locales/
Dde_LI.txt19 dayPeriod{
Dfr_RE.txt14 dayPeriod{
Dfr_CD.txt14 dayPeriod{
Dar_SA.txt15 dayPeriod{
Dar_LY.txt16 dayPeriod{
Dfr_SN.txt7 dayPeriod{
Des_EC.txt27 dayPeriod{
Des_NI.txt16 dayPeriod{
Dsr_Cyrl_XK.txt39 dayPeriod{
Des_CR.txt24 dayPeriod{
Des_SV.txt19 dayPeriod{
Dsw_KE.txt43 dayPeriod{
Den_GB.txt35 dayPeriod{
Dsr_Cyrl_ME.txt77 dayPeriod{
Dsr_Cyrl_BA.txt80 dayPeriod{
Des_BO.txt39 dayPeriod{
Des_UY.txt28 dayPeriod{
Dsr_Latn_XK.txt39 dayPeriod{
Dfr_CM.txt28 dayPeriod{
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2357 Output<DayPeriodRules.DayPeriod> dayPeriod = new Output<DayPeriodRules.DayPeriod>(null); in parse() local
2436 … false, true, ambiguousYear, cal, numericLeapMonthFormatter, tzTimeType, dayPeriod); in parse()
2523 if (dayPeriod.value != null) { in parse()
2529 double midPoint = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse()
2571 double midPointHour = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse()
3010 Output<DayPeriodRules.DayPeriod> dayPeriod) in matchDayPeriodString() argument
3027 dayPeriod.value = DayPeriodRules.DayPeriod.VALUES[bestMatch]; in matchDayPeriodString()
3101 Output<DayPeriodRules.DayPeriod> dayPeriod) in subParse() argument
3625 numericLeapMonthFormatter, tzTimeType, dayPeriod); in subParse()
3633 text, start, formatData.abbreviatedDayPeriods, 2, dayPeriod)) > 0) { in subParse()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java2344 Output<DayPeriodRules.DayPeriod> dayPeriod = new Output<DayPeriodRules.DayPeriod>(null); in parse() local
2423 … false, true, ambiguousYear, cal, numericLeapMonthFormatter, tzTimeType, dayPeriod); in parse()
2510 if (dayPeriod.value != null) { in parse()
2516 double midPoint = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse()
2558 double midPointHour = ruleSet.getMidPointForDayPeriod(dayPeriod.value); in parse()
2995 Output<DayPeriodRules.DayPeriod> dayPeriod) in matchDayPeriodString() argument
3012 dayPeriod.value = DayPeriodRules.DayPeriod.VALUES[bestMatch]; in matchDayPeriodString()
3085 Output<DayPeriodRules.DayPeriod> dayPeriod) in subParse() argument
3609 numericLeapMonthFormatter, tzTimeType, dayPeriod); in subParse()
3617 text, start, formatData.abbreviatedDayPeriods, 2, dayPeriod)) > 0) { in subParse()
[all …]

1234567