Home
last modified time | relevance | path

Searched refs:ruleDay (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DAnnualTimeZoneRule.java106 long ruleDay; in getStartInYear() local
110ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), dateTimeRule.getRuleDayOfMonth()); in getStartInYear()
116 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), 1); in getStartInYear()
117 ruleDay += 7 * (weeks - 1); in getStartInYear()
120 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), in getStartInYear()
122 ruleDay += 7 * (weeks + 1); in getStartInYear()
134 ruleDay = Grego.fieldsToDay(year, month, dom); in getStartInYear()
137 int dow = Grego.dayOfWeek(ruleDay); in getStartInYear()
144 ruleDay += delta; in getStartInYear()
147 long ruleTime = ruleDay * Grego.MILLIS_PER_DAY + dateTimeRule.getRuleMillisInDay(); in getStartInYear()
DSimpleTimeZone.java832 int ruleDay, int ruleMillis) in compareToRule() argument
878 if (ruleDay > monthLen) { in compareToRule()
879 ruleDay = monthLen; in compareToRule()
885 ruleDayOfMonth = ruleDay; in compareToRule()
889 if (ruleDay > 0) in compareToRule()
890 ruleDayOfMonth = 1 + (ruleDay - 1) * 7 + in compareToRule()
894 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
899 ruleDayOfMonth = ruleDay + in compareToRule()
900 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
903 ruleDayOfMonth = ruleDay - in compareToRule()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DAnnualTimeZoneRule.java116 long ruleDay; in getStartInYear() local
120ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), dateTimeRule.getRuleDayOfMonth()); in getStartInYear()
126 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), 1); in getStartInYear()
127 ruleDay += 7 * (weeks - 1); in getStartInYear()
130 ruleDay = Grego.fieldsToDay(year, dateTimeRule.getRuleMonth(), in getStartInYear()
132 ruleDay += 7 * (weeks + 1); in getStartInYear()
144 ruleDay = Grego.fieldsToDay(year, month, dom); in getStartInYear()
147 int dow = Grego.dayOfWeek(ruleDay); in getStartInYear()
154 ruleDay += delta; in getStartInYear()
157 long ruleTime = ruleDay * Grego.MILLIS_PER_DAY + dateTimeRule.getRuleMillisInDay(); in getStartInYear()
DSimpleTimeZone.java853 int ruleDay, int ruleMillis) in compareToRule() argument
899 if (ruleDay > monthLen) { in compareToRule()
900 ruleDay = monthLen; in compareToRule()
906 ruleDayOfMonth = ruleDay; in compareToRule()
910 if (ruleDay > 0) in compareToRule()
911 ruleDayOfMonth = 1 + (ruleDay - 1) * 7 + in compareToRule()
915 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
920 ruleDayOfMonth = ruleDay + in compareToRule()
921 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
924 ruleDayOfMonth = ruleDay - in compareToRule()
[all …]
/external/icu/icu4c/source/i18n/
Dtzrule.cpp271 double ruleDay; in getStartInYear() local
274ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), fDateTimeRule->getRuleDayOfMonth… in getStartInYear()
281 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 1); in getStartInYear()
282 ruleDay += 7 * (weeks - 1); in getStartInYear()
285 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), in getStartInYear()
287 ruleDay += 7 * (weeks + 1); in getStartInYear()
299 ruleDay = Grego::fieldsToDay(year, month, dom); in getStartInYear()
301 int32_t dow = Grego::dayOfWeek(ruleDay); in getStartInYear()
308 ruleDay += delta; in getStartInYear()
311 result = ruleDay*U_MILLIS_PER_DAY + fDateTimeRule->getRuleMillisInDay(); in getStartInYear()
Dsimpletz.cpp575 int8_t ruleDay, int32_t ruleMillis) in compareToRule() argument
611 if (ruleDay > monthLen) { in compareToRule()
612 ruleDay = monthLen; in compareToRule()
619 ruleDayOfMonth = ruleDay; in compareToRule()
628 if (ruleDay > 0) in compareToRule()
629 ruleDayOfMonth = 1 + (ruleDay - 1) * 7 + in compareToRule()
639 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
645 ruleDayOfMonth = ruleDay + in compareToRule()
646 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
650 ruleDayOfMonth = ruleDay - in compareToRule()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dsimpletz.h838 int8_t ruleDay, int32_t ruleMillis);