Searched refs:weekInMonth (Results 1 – 11 of 11) sorted by relevance
82 private final int weekInMonth; field in DateTimeRule111 this.weekInMonth = 0; in DateTimeRule()130 public DateTimeRule(int month, int weekInMonth, int dayOfWeek, in DateTimeRule() argument134 this.weekInMonth = weekInMonth; in DateTimeRule()171 this.weekInMonth = 0; in DateTimeRule()230 return weekInMonth; in getRuleWeekInMonth()275 sDate = Integer.toString(weekInMonth) + DOWSTR[dayOfWeek]; in toString()
410 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in getSimpleTimeZoneRulesNear() local412 DateTimeRule dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear()442 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], in getSimpleTimeZoneRulesNear()444 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear()475 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], in getSimpleTimeZoneRulesNear()477 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear()
1300 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in writeZone() local1316 && dstWeekInMonth == weekInMonth in writeZone()1342 dstWeekInMonth = weekInMonth; in writeZone()1363 && stdWeekInMonth == weekInMonth in writeZone()1389 stdWeekInMonth = weekInMonth; in writeZone()1485 …private static boolean isEquivalentDateRule(int month, int weekInMonth, int dayOfWeek, DateTimeRul… in isEquivalentDateRule() argument1494 && dtrule.getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule()1499 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule()1503 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()1508 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule()[all …]
204 int weekInMonth = (dayOfMonth + 6)/7; in getDayOfWeekInMonth() local205 if (weekInMonth == 4) { in getDayOfWeekInMonth()207 weekInMonth = -1; in getDayOfWeekInMonth()209 } else if (weekInMonth == 5) { in getDayOfWeekInMonth()210 weekInMonth = -1; in getDayOfWeekInMonth()212 return weekInMonth; in getDayOfWeekInMonth()
149 int32_t weekInMonth = (dom + 6)/7; in dayOfWeekInMonth() local150 if (weekInMonth == 4) { in dayOfWeekInMonth()152 weekInMonth = -1; in dayOfWeekInMonth()154 } else if (weekInMonth == 5) { in dayOfWeekInMonth()155 weekInMonth = -1; in dayOfWeekInMonth()157 return weekInMonth; in dayOfWeekInMonth()
167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear() local169 … DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear()196 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()225 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear()226 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
29 int32_t weekInMonth, in DateTimeRule() argument33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
765 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const Date… in isEquivalentDateRule() argument774 && dtrule->getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule()779 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule()783 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()788 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule()792 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule()1960 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in writeZone() local1977 && dstWeekInMonth == weekInMonth in writeZone()2006 dstWeekInMonth = weekInMonth; in writeZone()2028 && stdWeekInMonth == weekInMonth in writeZone()[all …]
87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
392 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...