Searched refs:weekInMonth (Results 1 - 21 of 21) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DDateTimeRule.java71 private final int weekInMonth; field in class:DateTimeRule
98 this.weekInMonth = 0;
107 * @param weekInMonth The ordinal number of the day of week. Negative number
115 public DateTimeRule(int month, int weekInMonth, int dayOfWeek, argument
119 this.weekInMonth = weekInMonth;
154 this.weekInMonth = 0;
203 return weekInMonth;
243 sDate = Integer.toString(weekInMonth) + DOWSTR[dayOfWeek];
H A DBasicTimeZone.java399 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]);
401 DateTimeRule dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3],
431 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1],
433 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3],
464 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1],
466 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3],
H A DVTimeZone.java1275 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]);
1291 && dstWeekInMonth == weekInMonth
1317 dstWeekInMonth = weekInMonth;
1338 && stdWeekInMonth == weekInMonth
1364 stdWeekInMonth = weekInMonth;
1457 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
1460 private static boolean isEquivalentDateRule(int month, int weekInMonth, int dayOfWeek, DateTimeRule dtrule) { argument
1469 && dtrule.getRuleWeekInMonth() == weekInMonth) {
1474 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) {
1478 && weekInMonth
1532 writeZonePropsByDOW(Writer writer, boolean isDst, String tzname, int fromOffset, int toOffset, int month, int weekInMonth, int dayOfWeek, long startTime, long untilTime) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DDateTimeRule.java84 private final int weekInMonth; field in class:DateTimeRule
113 this.weekInMonth = 0;
122 * @param weekInMonth The ordinal number of the day of week. Negative number
132 public DateTimeRule(int month, int weekInMonth, int dayOfWeek, argument
136 this.weekInMonth = weekInMonth;
173 this.weekInMonth = 0;
232 return weekInMonth;
278 sDate = Integer.toString(weekInMonth) + DOWSTR[dayOfWeek];
H A DBasicTimeZone.java412 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]);
414 DateTimeRule dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3],
444 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1],
446 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3],
477 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1],
479 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3],
H A DVTimeZone.java1306 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]);
1322 && dstWeekInMonth == weekInMonth
1348 dstWeekInMonth = weekInMonth;
1369 && stdWeekInMonth == weekInMonth
1395 stdWeekInMonth = weekInMonth;
1488 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
1491 private static boolean isEquivalentDateRule(int month, int weekInMonth, int dayOfWeek, DateTimeRule dtrule) { argument
1500 && dtrule.getRuleWeekInMonth() == weekInMonth) {
1505 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) {
1509 && weekInMonth
1563 writeZonePropsByDOW(Writer writer, boolean isDst, String tzname, int fromOffset, int toOffset, int month, int weekInMonth, int dayOfWeek, long startTime, long untilTime) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DGrego.java208 int weekInMonth = (dayOfMonth + 6)/7;
209 if (weekInMonth == 4) {
211 weekInMonth = -1;
213 } else if (weekInMonth == 5) {
214 weekInMonth = -1;
216 return weekInMonth;
/external/icu/icu4c/source/i18n/
H A Dgregoimp.cpp152 int32_t weekInMonth = (dom + 6)/7; local
153 if (weekInMonth == 4) {
155 weekInMonth = -1;
157 } else if (weekInMonth == 5) {
158 weekInMonth = -1;
160 return weekInMonth;
H A Ddtrule.cpp31 int32_t weekInMonth,
35 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay),
30 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, int32_t millisInDay, TimeRuleType timeType) argument
H A Dbasictz.cpp169 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); local
171 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
196 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
198 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
227 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
228 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
H A Dvtzone.cpp764 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
767 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const DateTimeRule *dtrule) { argument
776 && dtrule->getRuleWeekInMonth() == weekInMonth) {
781 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) {
785 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) {
790 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) {
794 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) {
1952 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); local
1969 && dstWeekInMonth == weekInMonth
1998 dstWeekInMonth = weekInMonth;
2284 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/impl/
H A DGrego.java206 int weekInMonth = (dayOfMonth + 6)/7;
207 if (weekInMonth == 4) {
209 weekInMonth = -1;
211 } else if (weekInMonth == 5) {
212 weekInMonth = -1;
214 return weekInMonth;
/external/icu/icu4c/source/i18n/unicode/
H A Ddtrule.h80 * @param weekInMonth The ordinal number of the day of week. Negative number
89 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
H A Dvtzone.h394 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
/external/annotation-tools/asmx/test/lib/
H A Dsaxon7.jarMETA-INF/ META-INF/MANIFEST.MF net/sf/saxon/Compile.class Compile.java package ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 379 milliseconds