Home
last modified time | relevance | path

Searched refs:weekInMonth (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DDateTimeRule.java82 private final int weekInMonth; field in DateTimeRule
111 this.weekInMonth = 0; in DateTimeRule()
130 public DateTimeRule(int month, int weekInMonth, int dayOfWeek, in DateTimeRule() argument
134 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()
DBasicTimeZone.java410 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in getSimpleTimeZoneRulesNear() local
412 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()
DVTimeZone.java1300 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in writeZone() local
1316 && 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() argument
1494 && 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 …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java204 int weekInMonth = (dayOfMonth + 6)/7; in getDayOfWeekInMonth() local
205 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()
/external/icu/icu4c/source/i18n/
Dgregoimp.cpp149 int32_t weekInMonth = (dom + 6)/7; in dayOfWeekInMonth() local
150 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()
Dbasictz.cpp167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in getSimpleRulesNear() local
169 … 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()
Ddtrule.cpp29 int32_t weekInMonth, in DateTimeRule() argument
33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
Dvtzone.cpp765 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const Date… in isEquivalentDateRule() argument
774 && 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() local
1977 && dstWeekInMonth == weekInMonth in writeZone()
2006 dstWeekInMonth = weekInMonth; in writeZone()
2028 && stdWeekInMonth == weekInMonth in writeZone()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Ddtrule.h87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
Dvtzone.h392 int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...