Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/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.java854 int ruleDay, int ruleMillis) in compareToRule() argument
900 if (ruleDay > monthLen) { in compareToRule()
901 ruleDay = monthLen; in compareToRule()
907 ruleDayOfMonth = ruleDay; in compareToRule()
911 if (ruleDay > 0) in compareToRule()
912 ruleDayOfMonth = 1 + (ruleDay - 1) * 7 + in compareToRule()
916 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
921 ruleDayOfMonth = ruleDay + in compareToRule()
922 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
925 ruleDayOfMonth = ruleDay - in compareToRule()
[all …]
/third_party/skia/third_party/externals/icu/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.cpp578 int8_t ruleDay, int32_t ruleMillis) in compareToRule() argument
614 if (ruleDay > monthLen) { in compareToRule()
615 ruleDay = monthLen; in compareToRule()
622 ruleDayOfMonth = ruleDay; in compareToRule()
631 if (ruleDay > 0) in compareToRule()
632 ruleDayOfMonth = 1 + (ruleDay - 1) * 7 + in compareToRule()
642 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
648 ruleDayOfMonth = ruleDay + in compareToRule()
649 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
653 ruleDayOfMonth = ruleDay - in compareToRule()
[all …]
/third_party/node/deps/icu-small/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.cpp578 int8_t ruleDay, int32_t ruleMillis) in compareToRule() argument
614 if (ruleDay > monthLen) { in compareToRule()
615 ruleDay = monthLen; in compareToRule()
622 ruleDayOfMonth = ruleDay; in compareToRule()
631 if (ruleDay > 0) in compareToRule()
632 ruleDayOfMonth = 1 + (ruleDay - 1) * 7 + in compareToRule()
642 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
648 ruleDayOfMonth = ruleDay + in compareToRule()
649 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
653 ruleDayOfMonth = ruleDay - in compareToRule()
[all …]
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/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.cpp578 int8_t ruleDay, int32_t ruleMillis) in compareToRule() argument
614 if (ruleDay > monthLen) { in compareToRule()
615 ruleDay = monthLen; in compareToRule()
622 ruleDayOfMonth = ruleDay; in compareToRule()
631 if (ruleDay > 0) in compareToRule()
632 ruleDayOfMonth = 1 + (ruleDay - 1) * 7 + in compareToRule()
642 ruleDayOfMonth = monthLen + (ruleDay + 1) * 7 - in compareToRule()
648 ruleDayOfMonth = ruleDay + in compareToRule()
649 (49 + ruleDayOfWeek - ruleDay - dayOfWeek + dayOfMonth) % 7; in compareToRule()
653 ruleDayOfMonth = ruleDay - in compareToRule()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dsimpletz.h846 int8_t ruleDay, int32_t ruleMillis);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dsimpletz.h838 int8_t ruleDay, int32_t ruleMillis);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dsimpletz.h846 int8_t ruleDay, int32_t ruleMillis);
/third_party/icu/icu4c/source/i18n/unicode/
Dsimpletz.h846 int8_t ruleDay, int32_t ruleMillis);