Home
last modified time | relevance | path

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

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DDateTimeRule.java84 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()
DBasicTimeZone.java412 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()
DVTimeZone.java1304 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in writeZone() local
1320 && dstWeekInMonth == weekInMonth in writeZone()
1346 dstWeekInMonth = weekInMonth; in writeZone()
1367 && stdWeekInMonth == weekInMonth in writeZone()
1393 stdWeekInMonth = weekInMonth; in writeZone()
1489 …private static boolean isEquivalentDateRule(int month, int weekInMonth, int dayOfWeek, DateTimeRul… in isEquivalentDateRule() argument
1498 && dtrule.getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule()
1503 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule()
1507 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()
1512 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DDateTimeRule.java71 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()
DBasicTimeZone.java399 int weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], dtfields[2]); in getSimpleTimeZoneRulesNear() local
401 DateTimeRule dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear()
431 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], in getSimpleTimeZoneRulesNear()
433 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear()
464 weekInMonth = Grego.getDayOfWeekInMonth(dtfields[0], dtfields[1], in getSimpleTimeZoneRulesNear()
466 dtr = new DateTimeRule(dtfields[1], weekInMonth, dtfields[3], in getSimpleTimeZoneRulesNear()
DVTimeZone.java1275 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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DGrego.java208 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java206 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()
/third_party/skia/third_party/externals/icu/source/i18n/
Dgregoimp.cpp152 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()
Dbasictz.cpp169 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()
Ddtrule.cpp31 int32_t weekInMonth, in DateTimeRule() argument
35 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dgregoimp.cpp152 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()
Dbasictz.cpp169 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()
Ddtrule.cpp31 int32_t weekInMonth, in DateTimeRule() argument
35 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
/third_party/icu/icu4c/source/i18n/
Dgregoimp.cpp152 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()
Dbasictz.cpp169 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()
Ddtrule.cpp31 int32_t weekInMonth, in DateTimeRule() argument
35 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
/third_party/node/deps/icu-small/source/i18n/
Dgregoimp.cpp152 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()
Dbasictz.cpp169 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()
Ddtrule.cpp31 int32_t weekInMonth, in DateTimeRule() argument
35 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(mil… in DateTimeRule()
Dvtzone.cpp768 static UBool isEquivalentDateRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, const Date… in isEquivalentDateRule() argument
777 && dtrule->getRuleWeekInMonth() == weekInMonth) { in isEquivalentDateRule()
782 if (ruleDOM%7 == 1 && (ruleDOM + 6)/7 == weekInMonth) { in isEquivalentDateRule()
786 && weekInMonth == -1*((MONTHLENGTH[month]-ruleDOM+1)/7)) { in isEquivalentDateRule()
791 if (ruleDOM%7 == 0 && ruleDOM/7 == weekInMonth) { in isEquivalentDateRule()
795 && weekInMonth == -1*((MONTHLENGTH[month] - ruleDOM)/7 + 1)) { in isEquivalentDateRule()
1998 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); in writeZone() local
2015 && dstWeekInMonth == weekInMonth in writeZone()
2044 dstWeekInMonth = weekInMonth; in writeZone()
2066 && stdWeekInMonth == weekInMonth in writeZone()
[all …]
/third_party/icu/icu4c/source/i18n/unicode/
Ddtrule.h91 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
/third_party/node/deps/icu-small/source/i18n/unicode/
Ddtrule.h91 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Ddtrule.h91 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Ddtrule.h89 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,

12