Searched refs:dayPeriod (Results 1 – 25 of 165) sorted by relevance
1234567
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | DayPeriodRules.java | 274 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/ |
D | DayPeriodRules.java | 270 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/ |
D | dayperiodrules.cpp | 391 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 …]
|
D | dayperiodrules.h | 56 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/ |
D | de_LI.txt | 19 dayPeriod{
|
D | fr_RE.txt | 14 dayPeriod{
|
D | fr_CD.txt | 14 dayPeriod{
|
D | ar_SA.txt | 15 dayPeriod{
|
D | ar_LY.txt | 16 dayPeriod{
|
D | fr_SN.txt | 7 dayPeriod{
|
D | es_EC.txt | 27 dayPeriod{
|
D | es_NI.txt | 16 dayPeriod{
|
D | sr_Cyrl_XK.txt | 39 dayPeriod{
|
D | es_CR.txt | 24 dayPeriod{
|
D | es_SV.txt | 19 dayPeriod{
|
D | sw_KE.txt | 43 dayPeriod{
|
D | en_GB.txt | 35 dayPeriod{
|
D | sr_Cyrl_ME.txt | 77 dayPeriod{
|
D | sr_Cyrl_BA.txt | 80 dayPeriod{
|
D | es_BO.txt | 39 dayPeriod{
|
D | es_UY.txt | 28 dayPeriod{
|
D | sr_Latn_XK.txt | 39 dayPeriod{
|
D | fr_CM.txt | 28 dayPeriod{
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 2357 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/ |
D | SimpleDateFormat.java | 2344 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