/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | DateTimeRule.java | 71 private final int weekInMonth; field in DateTimeRule 98 this.weekInMonth = 0; in DateTimeRule() 115 public DateTimeRule(int month, int weekInMonth, int dayOfWeek, in DateTimeRule() argument 119 this.weekInMonth = weekInMonth; in DateTimeRule() 154 this.weekInMonth = 0; in DateTimeRule() 203 return weekInMonth; in getRuleWeekInMonth() 243 sDate = Integer.toString(weekInMonth) + DOWSTR[dayOfWeek]; in toString()
|
D | BasicTimeZone.java | 401 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in getSimpleTimeZoneRulesNear() local 403 DateTimeRule dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear() 433 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], in getSimpleTimeZoneRulesNear() 435 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear() 466 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], in getSimpleTimeZoneRulesNear() 468 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear()
|
D | VTimeZone.java | 1275 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in writeZone() local 1291 && dstWeekInMonth == weekInMonth in writeZone() 1317 dstWeekInMonth = weekInMonth; in writeZone() 1338 && stdWeekInMonth == weekInMonth in writeZone() 1364 stdWeekInMonth = weekInMonth; in writeZone() 1460 …private static boolean isEquivalentDateRule(int month, int weekInMonth, int dayOfWeek, DateTimeRul… in isEquivalentDateRule() argument 1469 && dtrule.getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule() 1474 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule() 1478 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule() 1483 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | DateTimeRule.java | 84 private final int weekInMonth; field in DateTimeRule 113 this.weekInMonth = 0; in DateTimeRule() 132 public DateTimeRule(int month, int weekInMonth, int dayOfWeek, in DateTimeRule() argument 136 this.weekInMonth = weekInMonth; in DateTimeRule() 173 this.weekInMonth = 0; in DateTimeRule() 232 return weekInMonth; in getRuleWeekInMonth() 278 sDate = Integer.toString(weekInMonth) + DOWSTR[dayOfWeek]; in toString()
|
D | BasicTimeZone.java | 412 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in getSimpleTimeZoneRulesNear() local 414 DateTimeRule dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear() 444 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], in getSimpleTimeZoneRulesNear() 446 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear() 477 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], in getSimpleTimeZoneRulesNear() 479 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear()
|
D | VTimeZone.java | 1306 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in writeZone() local 1322 && dstWeekInMonth == weekInMonth in writeZone() 1348 dstWeekInMonth = weekInMonth; in writeZone() 1369 && stdWeekInMonth == weekInMonth in writeZone() 1395 stdWeekInMonth = weekInMonth; in writeZone() 1491 …private static boolean isEquivalentDateRule(int month, int weekInMonth, int dayOfWeek, DateTimeRul… in isEquivalentDateRule() argument 1500 && dtrule.getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule() 1505 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule() 1509 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule() 1514 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Grego.java | 208 int weekInMonth = (dayOfMonth + 6)/7; in getDayOfWeekInMonth() local 209 if (weekInMonth == 4) { in getDayOfWeekInMonth() 211 weekInMonth = -1; in getDayOfWeekInMonth() 213 } else if (weekInMonth == 5) { in getDayOfWeekInMonth() 214 weekInMonth = -1; in getDayOfWeekInMonth() 216 return weekInMonth; in getDayOfWeekInMonth()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 206 int weekInMonth = (dayOfMonth + 6)/7; in getDayOfWeekInMonth() local 207 if (weekInMonth == 4) { in getDayOfWeekInMonth() 209 weekInMonth = -1; in getDayOfWeekInMonth() 211 } else if (weekInMonth == 5) { in getDayOfWeekInMonth() 212 weekInMonth = -1; in getDayOfWeekInMonth() 214 return weekInMonth; in getDayOfWeekInMonth()
|
/external/icu/icu4c/source/i18n/ |
D | gregoimp.cpp | 152 int32_t weekInMonth = (dom + 6)/7; in dayOfWeekInMonth() local 153 if (weekInMonth == 4) { in dayOfWeekInMonth() 155 weekInMonth = -1; in dayOfWeekInMonth() 157 } else if (weekInMonth == 5) { in dayOfWeekInMonth() 158 weekInMonth = -1; in dayOfWeekInMonth() 160 return weekInMonth; in dayOfWeekInMonth()
|
D | basictz.cpp | 169 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear() local 171 … DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear() 196 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear() 198 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear() 227 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear() 228 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
|
D | dtrule.cpp | 31 int32_t weekInMonth, in DateTimeRule() argument 35 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
|
D | vtzone.cpp | 767 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const Date… in isEquivalentDateRule() argument 776 && dtrule->getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule() 781 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule() 785 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule() 790 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule() 794 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule() 1952 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in writeZone() local 1969 && dstWeekInMonth == weekInMonth in writeZone() 1998 dstWeekInMonth = weekInMonth; in writeZone() 2020 && stdWeekInMonth == weekInMonth in writeZone() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtrule.h | 89 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
|
D | vtzone.h | 394 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
|