Searched refs:MONTHLENGTH (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | VTimeZone.java | 452 private static final int[] MONTHLENGTH = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; field in VTimeZone 900 days[i] = days[i] > 0 ? days[i] : MONTHLENGTH[month] + days[i] + 1; in createRuleByRRULE() 942 dom = dom > 0 ? dom : MONTHLENGTH[month] + dom + 1; in createRuleByRRULE() 998 dom = dom > 0 ? dom : MONTHLENGTH[fields[0]] + dom + 1; in createRuleByRRULE() 1508 if (month != Calendar.FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6 in isEquivalentDateRule() 1509 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule() 1517 if (month != Calendar.FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0 in isEquivalentDateRule() 1518 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule() 1591 } else if (month != Calendar.FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 6) { in writeZonePropsByDOW_GEQ_DOM() 1594 … month, -1*((MONTHLENGTH[month] - dayOfMonth + 1)/7), dayOfWeek, startTime, untilTime); in writeZonePropsByDOW_GEQ_DOM() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | VTimeZone.java | 421 private static final int[] MONTHLENGTH = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; field in VTimeZone 869 days[i] = days[i] > 0 ? days[i] : MONTHLENGTH[month] + days[i] + 1; in createRuleByRRULE() 911 dom = dom > 0 ? dom : MONTHLENGTH[month] + dom + 1; in createRuleByRRULE() 967 dom = dom > 0 ? dom : MONTHLENGTH[fields[0]] + dom + 1; in createRuleByRRULE() 1477 if (month != Calendar.FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6 in isEquivalentDateRule() 1478 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule() 1486 if (month != Calendar.FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0 in isEquivalentDateRule() 1487 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule() 1560 } else if (month != Calendar.FEBRUARY && (MONTHLENGTH[month] - dayOfMonth)%7 == 6) { in writeZonePropsByDOW_GEQ_DOM() 1563 … month, -1*((MONTHLENGTH[month] - dayOfMonth + 1)/7), dayOfWeek, startTime, untilTime); in writeZonePropsByDOW_GEQ_DOM() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | vtzone.cpp | 80 static const int32_t MONTHLENGTH[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; variable 566 days[i] = MONTHLENGTH[month] + days[i] + 1; in createRuleByRRULE() 610 dom = dom > 0 ? dom : MONTHLENGTH[month] + dom + 1; in createRuleByRRULE() 669 … tmp_days[j] = tmp_days[j] > 0 ? tmp_days[j] : MONTHLENGTH[tmp_month] + tmp_days[j] + 1; in createRuleByRRULE() 785 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6 in isEquivalentDateRule() 786 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule() 794 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0 in isEquivalentDateRule() 795 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule() 846 dom = MONTHLENGTH[month] + 7 * (wim + 1); in toWallTimeRule() 854 dom = MONTHLENGTH[month]; in toWallTimeRule() [all …]
|