HomeSort by relevance Sort by last modified time
    Searched defs:weekInMonth (Results 1 - 7 of 7) sorted by null

  /external/chromium/third_party/icu/source/i18n/
gregoimp.cpp 149 int32_t weekInMonth = (dom + 6)/7;
150 if (weekInMonth == 4) {
152 weekInMonth = -1;
154 } else if (weekInMonth == 5) {
155 weekInMonth = -1;
157 return weekInMonth;
basictz.cpp 157 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
159 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
176 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
178 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
206 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
207 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
vtzone.cpp 760 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
763 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) {
772 && dtrule->getRuleWeekInMonth() == weekInMonth) {
777 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) {
781 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) {
786 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) {
790 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) {
    [all...]
  /external/icu4c/i18n/
gregoimp.cpp 149 int32_t weekInMonth = (dom + 6)/7;
150 if (weekInMonth == 4) {
152 weekInMonth = -1;
154 } else if (weekInMonth == 5) {
155 weekInMonth = -1;
157 return weekInMonth;
basictz.cpp 157 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
159 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
184 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
186 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
215 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
216 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
vtzone.cpp 760 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
763 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) {
772 && dtrule->getRuleWeekInMonth() == weekInMonth) {
777 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) {
781 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) {
786 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) {
790 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) {
    [all...]
  /libcore/luni/src/main/java/java/util/
Grego.java 204 int weekInMonth = (dayOfMonth + 6)/7;
205 if (weekInMonth == 4) {
207 weekInMonth = -1;
209 } else if (weekInMonth == 5) {
210 weekInMonth = -1;
212 return weekInMonth;

Completed in 831 milliseconds