Searched defs:weekInMonth (Results 1 - 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/
H A Ddtrule.cpp29 int32_t weekInMonth,
33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay),
28 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, int32_t millisInDay, TimeRuleType timeType) argument
H A Dgregoimp.cpp149 int32_t weekInMonth = (dom + 6)/7; local
150 if (weekInMonth == 4) {
152 weekInMonth = -1;
154 } else if (weekInMonth == 5) {
155 weekInMonth = -1;
157 return weekInMonth;
H A Dbasictz.cpp167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); local
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);
H A Dvtzone.cpp762 * 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) { argument
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)) {
1960 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); local
1977 && dstWeekInMonth == weekInMonth
2006 dstWeekInMonth = weekInMonth;
2292 writeZonePropsByDOW(VTZWriter& writer, UBool isDst, const UnicodeString& zonename, int32_t fromOffset, int32_t toOffset, int32_t month, int32_t weekInMonth, int32_t dayOfWeek, UDate startTime, UDate untilTime, UErrorCode& status) const argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DDateTimeRule.java82 private final int weekInMonth; field in class:DateTimeRule
111 this.weekInMonth = 0;
120 * @param weekInMonth The ordinal number of the day of week. Negative number
130 public DateTimeRule(int month, int weekInMonth, int dayOfWeek, argument
134 this.weekInMonth = weekInMonth;
171 this.weekInMonth = 0;
230 return weekInMonth;
275 sDate = Integer.toString(weekInMonth) + DOWSTR[dayOfWeek];
H A DVTimeZone.java1300 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]);
1316 && dstWeekInMonth == weekInMonth
1342 dstWeekInMonth = weekInMonth;
1363 && stdWeekInMonth == weekInMonth
1389 stdWeekInMonth = weekInMonth;
1482 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
1485 private static boolean isEquivalentDateRule(int month, int weekInMonth, int dayOfWeek, DateTimeRule dtrule) { argument
1494 && dtrule.getRuleWeekInMonth() == weekInMonth) {
1499 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) {
1503 && weekInMonth
1557 writeZonePropsByDOW(Writer writer, boolean isDst, String tzname, int fromOffset, int toOffset, int month, int weekInMonth, int dayOfWeek, long startTime, long untilTime) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 200 milliseconds