Home
last modified time | relevance | path

Searched refs:weekInMonth (Results 1 – 12 of 12) sorted by relevance

/external/icu4c/i18n/
Dgregoimp.cpp149 int32_t weekInMonth = (dom + 6)/7; in dayOfWeekInMonth() local
150 if (weekInMonth == 4) { in dayOfWeekInMonth()
152 weekInMonth = -1; in dayOfWeekInMonth()
154 } else if (weekInMonth == 5) { in dayOfWeekInMonth()
155 weekInMonth = -1; in dayOfWeekInMonth()
157 return weekInMonth; in dayOfWeekInMonth()
Ddtrule.cpp29 int32_t weekInMonth, in DateTimeRule() argument
33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
Dbasictz.cpp167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear() local
169 … DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear()
196 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear()
226 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
Dvtzone.cpp764 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const Date… in isEquivalentDateRule() argument
773 && dtrule->getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule()
778 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule()
782 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()
787 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule()
791 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule()
1959 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in writeZone() local
1976 && dstWeekInMonth == weekInMonth in writeZone()
2005 dstWeekInMonth = weekInMonth; in writeZone()
2027 && stdWeekInMonth == weekInMonth in writeZone()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dgregoimp.cpp149 int32_t weekInMonth = (dom + 6)/7; in dayOfWeekInMonth() local
150 if (weekInMonth == 4) { in dayOfWeekInMonth()
152 weekInMonth = -1; in dayOfWeekInMonth()
154 } else if (weekInMonth == 5) { in dayOfWeekInMonth()
155 weekInMonth = -1; in dayOfWeekInMonth()
157 return weekInMonth; in dayOfWeekInMonth()
Ddtrule.cpp29 int32_t weekInMonth, in DateTimeRule() argument
33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
Dbasictz.cpp167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear() local
169 … DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear()
196 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear()
226 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
Dvtzone.cpp765 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const Date… in isEquivalentDateRule() argument
774 && dtrule->getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule()
779 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule()
783 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()
788 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule()
792 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule()
1954 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in writeZone() local
1971 && dstWeekInMonth == weekInMonth in writeZone()
2000 dstWeekInMonth = weekInMonth; in writeZone()
2022 && stdWeekInMonth == weekInMonth in writeZone()
[all …]
/external/icu4c/i18n/unicode/
Ddtrule.h87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
Dvtzone.h392 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
/external/chromium_org/third_party/icu/source/i18n/unicode/
Ddtrule.h87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
Dvtzone.h392 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,