Home
last modified time | relevance | path

Searched refs:MONTHLENGTH (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/i18n/
Dvtzone.cpp78 static const int32_t MONTHLENGTH[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; variable
564 days[i] = MONTHLENGTH[month] + days[i] + 1; in createRuleByRRULE()
608 dom = dom > 0 ? dom : MONTHLENGTH[month] + dom + 1; in createRuleByRRULE()
667 … tmp_days[j] = tmp_days[j] > 0 ? tmp_days[j] : MONTHLENGTH[tmp_month] + tmp_days[j] + 1; in createRuleByRRULE()
782 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6 in isEquivalentDateRule()
783 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()
791 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0 in isEquivalentDateRule()
792 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule()
840 dom = MONTHLENGTH[month] + 7 * (wim + 1); in toWallTimeRule()
848 dom = MONTHLENGTH[month]; in toWallTimeRule()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dvtzone.cpp78 static const int32_t MONTHLENGTH[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; variable
564 days[i] = MONTHLENGTH[month] + days[i] + 1; in createRuleByRRULE()
608 dom = dom > 0 ? dom : MONTHLENGTH[month] + dom + 1; in createRuleByRRULE()
667 … tmp_days[j] = tmp_days[j] > 0 ? tmp_days[j] : MONTHLENGTH[tmp_month] + tmp_days[j] + 1; in createRuleByRRULE()
782 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 6 in isEquivalentDateRule()
783 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()
791 if (month != UCAL_FEBRUARY && (MONTHLENGTH[month] - ruleDOM)%7 == 0 in isEquivalentDateRule()
792 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule()
840 dom = MONTHLENGTH[month] + 7 * (wim + 1); in toWallTimeRule()
848 dom = MONTHLENGTH[month]; in toWallTimeRule()
[all …]