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

  /external/chromium_org/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 167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
vtzone.cpp 762 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
765 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) {
774 && dtrule->getRuleWeekInMonth() == weekInMonth) {
779 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) {
783 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) {
788 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) {
792 && 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 167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
vtzone.cpp 761 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
764 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) {
773 && dtrule->getRuleWeekInMonth() == weekInMonth) {
778 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) {
782 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) {
787 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) {
791 && 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;
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 

Completed in 206 milliseconds