/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | SimpleHoliday.java | 38 public SimpleHoliday(int month, int dayOfMonth, String name) in SimpleHoliday() argument 40 super(name, new SimpleDateRule(month, dayOfMonth)); in SimpleHoliday() 57 public SimpleHoliday(int month, int dayOfMonth, String name, in SimpleHoliday() argument 60 super(name, rangeRule(startYear, 0, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday() 77 public SimpleHoliday(int month, int dayOfMonth, String name, in SimpleHoliday() argument 80 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday() 107 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name) in SimpleHoliday() argument 109 super(name, new SimpleDateRule(month, dayOfMonth, in SimpleHoliday() 117 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name, in SimpleHoliday() argument 121 new SimpleDateRule(month, dayOfMonth, in SimpleHoliday() [all …]
|
D | DateTimeRule.java | 82 private final int dayOfMonth; field in DateTimeRule 102 public DateTimeRule(int month, int dayOfMonth, in DateTimeRule() argument 106 this.dayOfMonth = dayOfMonth; in DateTimeRule() 143 this.dayOfMonth = 0; in DateTimeRule() 162 public DateTimeRule(int month, int dayOfMonth, int dayOfWeek, boolean after, in DateTimeRule() argument 166 this.dayOfMonth = dayOfMonth; in DateTimeRule() 207 return dayOfMonth; in getRuleDayOfMonth() 275 sDate = Integer.toString(dayOfMonth); in toString() 281 sDate = DOWSTR[dayOfWeek] + ">=" + Integer.toString(dayOfMonth); in toString() 284 sDate = DOWSTR[dayOfWeek] + "<=" + Integer.toString(dayOfMonth); in toString()
|
D | SimpleDateRule.java | 30 public SimpleDateRule(int month, int dayOfMonth) in SimpleDateRule() argument 33 this.dayOfMonth = dayOfMonth; in SimpleDateRule() 38 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal) in SimpleDateRule() argument 41 this.dayOfMonth = dayOfMonth; in SimpleDateRule() 57 public SimpleDateRule(int month, int dayOfMonth, int dayOfWeek, boolean after) in SimpleDateRule() argument 60 this.dayOfMonth = dayOfMonth; in SimpleDateRule() 183 c.set(Calendar.DATE, dayOfMonth); in computeInYear() 220 private int dayOfMonth; field in SimpleDateRule
|
D | SimpleTimeZone.java | 391 public void setStartRule(int month, int dayOfMonth, int time) { in setStartRule() argument 396 getSTZInfo().setStart(month, -1, -1, time, dayOfMonth, false); in setStartRule() 397 setStartRule(month, dayOfMonth, 0, time, WALL_TIME); in setStartRule() 417 public void setStartRule(int month, int dayOfMonth, int dayOfWeek, int time, boolean after) { in setStartRule() argument 422 getSTZInfo().setStart(month, -1, dayOfWeek, time, dayOfMonth, after); in setStartRule() 423 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule() 468 public void setEndRule(int month, int dayOfMonth, int time) { in setEndRule() argument 473 getSTZInfo().setEnd(month, -1, -1, time, dayOfMonth, false); in setEndRule() 474 setEndRule(month, dayOfMonth, WALL_TIME, time); in setEndRule() 494 public void setEndRule(int month, int dayOfMonth, int dayOfWeek, int time, boolean after) { in setEndRule() argument [all …]
|
D | VTimeZone.java | 879 int dayOfMonth = ruleFields[3]; in createRuleByRRULE() local 916 dayOfMonth = firstDay; in createRuleByRRULE() 921 if (month == -1 || dayOfWeek == 0 || dayOfMonth == 0) { in createRuleByRRULE() 1007 dayOfMonth = earliestDay; in createRuleByRRULE() 1017 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { in createRuleByRRULE() 1019 dayOfMonth = dfields[2]; in createRuleByRRULE() 1031 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE() 1033 adtr = new DateTimeRule(month, dayOfMonth, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE() 1034 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { in createRuleByRRULE() 1037 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | SimpleHoliday.java | 40 public SimpleHoliday(int month, int dayOfMonth, String name) in SimpleHoliday() argument 42 super(name, new SimpleDateRule(month, dayOfMonth)); in SimpleHoliday() 59 public SimpleHoliday(int month, int dayOfMonth, String name, in SimpleHoliday() argument 62 super(name, rangeRule(startYear, 0, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday() 79 public SimpleHoliday(int month, int dayOfMonth, String name, in SimpleHoliday() argument 82 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday() 109 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name) in SimpleHoliday() argument 111 super(name, new SimpleDateRule(month, dayOfMonth, in SimpleHoliday() 119 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name, in SimpleHoliday() argument 123 new SimpleDateRule(month, dayOfMonth, in SimpleHoliday() [all …]
|
D | DateTimeRule.java | 69 private final int dayOfMonth; field in DateTimeRule 87 public DateTimeRule(int month, int dayOfMonth, in DateTimeRule() argument 91 this.dayOfMonth = dayOfMonth; in DateTimeRule() 126 this.dayOfMonth = 0; in DateTimeRule() 143 public DateTimeRule(int month, int dayOfMonth, int dayOfWeek, boolean after, in DateTimeRule() argument 147 this.dayOfMonth = dayOfMonth; in DateTimeRule() 182 return dayOfMonth; in getRuleDayOfMonth() 240 sDate = Integer.toString(dayOfMonth); in toString() 246 sDate = DOWSTR[dayOfWeek] + ">=" + Integer.toString(dayOfMonth); in toString() 249 sDate = DOWSTR[dayOfWeek] + "<=" + Integer.toString(dayOfMonth); in toString()
|
D | SimpleDateRule.java | 32 public SimpleDateRule(int month, int dayOfMonth) in SimpleDateRule() argument 35 this.dayOfMonth = dayOfMonth; in SimpleDateRule() 40 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal) in SimpleDateRule() argument 43 this.dayOfMonth = dayOfMonth; in SimpleDateRule() 59 public SimpleDateRule(int month, int dayOfMonth, int dayOfWeek, boolean after) in SimpleDateRule() argument 62 this.dayOfMonth = dayOfMonth; in SimpleDateRule() 181 c.set(Calendar.DATE, dayOfMonth); in computeInYear() 221 private int dayOfMonth; field in SimpleDateRule
|
D | SimpleTimeZone.java | 378 public void setStartRule(int month, int dayOfMonth, int time) { in setStartRule() argument 383 getSTZInfo().setStart(month, -1, -1, time, dayOfMonth, false); in setStartRule() 384 setStartRule(month, dayOfMonth, 0, time, WALL_TIME); in setStartRule() 403 public void setStartRule(int month, int dayOfMonth, int dayOfWeek, int time, boolean after) { in setStartRule() argument 408 getSTZInfo().setStart(month, -1, dayOfWeek, time, dayOfMonth, after); in setStartRule() 409 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule() 452 public void setEndRule(int month, int dayOfMonth, int time) { in setEndRule() argument 457 getSTZInfo().setEnd(month, -1, -1, time, dayOfMonth, false); in setEndRule() 458 setEndRule(month, dayOfMonth, WALL_TIME, time); in setEndRule() 477 public void setEndRule(int month, int dayOfMonth, int dayOfWeek, int time, boolean after) { in setEndRule() argument [all …]
|
D | VTimeZone.java | 850 int dayOfMonth = ruleFields[3]; in createRuleByRRULE() local 887 dayOfMonth = firstDay; in createRuleByRRULE() 892 if (month == -1 || dayOfWeek == 0 || dayOfMonth == 0) { in createRuleByRRULE() 978 dayOfMonth = earliestDay; in createRuleByRRULE() 988 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { in createRuleByRRULE() 990 dayOfMonth = dfields[2]; in createRuleByRRULE() 1002 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE() 1004 adtr = new DateTimeRule(month, dayOfMonth, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE() 1005 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { in createRuleByRRULE() 1008 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | simpletz.h | 375 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, 390 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, 409 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 429 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 495 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status); 510 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, 529 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 550 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 843 int8_t dayOfMonth, 902 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | simpletz.h | 373 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, 388 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, 407 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 427 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 493 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status); 508 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, 527 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 548 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 835 int8_t dayOfMonth, 894 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument [all …]
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | simpletz.h | 375 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, 390 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, 409 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 429 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 495 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status); 510 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, 529 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 550 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 843 int8_t dayOfMonth, 902 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument [all …]
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | simpletz.h | 375 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, 390 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time, 409 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 429 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 495 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status); 510 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, 529 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 550 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 843 int8_t dayOfMonth, 902 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument [all …]
|
/third_party/boost/boost/date_time/ |
D | adjust_functors.hpp | 80 day_type dayOfMonth = origDayOfMonth_; in get_offset() local 81 if (dayOfMonth > resultingEndOfMonthDay) { in get_offset() 82 dayOfMonth = resultingEndOfMonthDay; in get_offset() 84 return date_type(year, wi.as_int(), dayOfMonth) - d; in get_offset() 107 day_type dayOfMonth = origDayOfMonth_; in get_neg_offset() local 108 if (dayOfMonth > resultingEndOfMonthDay) { in get_neg_offset() 109 dayOfMonth = resultingEndOfMonthDay; in get_neg_offset() 111 return date_type(year, wi.as_int(), dayOfMonth) - d; in get_neg_offset()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | simpletz.cpp | 325 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument 328 setStartRule(month, dayOfMonth, 0, time, mode, status); in setStartRule() 334 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument 337 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule() 377 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, in setEndRule() argument 380 setEndRule(month, dayOfMonth, 0, time, mode, status); in setEndRule() 386 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument 389 setEndRule(month, after ? dayOfMonth : -dayOfMonth, in setEndRule() 575 int8_t dayOfMonth, in compareToRule() argument 584 ++dayOfMonth; in compareToRule() [all …]
|
D | dtrule.cpp | 23 int32_t dayOfMonth, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 26 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 40 int32_t dayOfMonth, in DateTimeRule() argument 46 …fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(milli… in DateTimeRule()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | simpletz.cpp | 325 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument 328 setStartRule(month, dayOfMonth, 0, time, mode, status); in setStartRule() 334 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument 337 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule() 377 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, in setEndRule() argument 380 setEndRule(month, dayOfMonth, 0, time, mode, status); in setEndRule() 386 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument 389 setEndRule(month, after ? dayOfMonth : -dayOfMonth, in setEndRule() 575 int8_t dayOfMonth, in compareToRule() argument 584 ++dayOfMonth; in compareToRule() [all …]
|
D | dtrule.cpp | 23 int32_t dayOfMonth, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 26 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 40 int32_t dayOfMonth, in DateTimeRule() argument 46 …fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(milli… in DateTimeRule()
|
/third_party/icu/icu4c/source/i18n/ |
D | simpletz.cpp | 325 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument 328 setStartRule(month, dayOfMonth, 0, time, mode, status); in setStartRule() 334 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument 337 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule() 377 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, in setEndRule() argument 380 setEndRule(month, dayOfMonth, 0, time, mode, status); in setEndRule() 386 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument 389 setEndRule(month, after ? dayOfMonth : -dayOfMonth, in setEndRule() 575 int8_t dayOfMonth, in compareToRule() argument 584 ++dayOfMonth; in compareToRule() [all …]
|
D | dtrule.cpp | 23 int32_t dayOfMonth, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 26 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 40 int32_t dayOfMonth, in DateTimeRule() argument 46 …fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(milli… in DateTimeRule()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | simpletz.cpp | 324 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument 327 setStartRule(month, dayOfMonth, 0, time, mode, status); in setStartRule() 333 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument 336 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule() 376 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, in setEndRule() argument 379 setEndRule(month, dayOfMonth, 0, time, mode, status); in setEndRule() 385 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument 388 setEndRule(month, after ? dayOfMonth : -dayOfMonth, in setEndRule() 572 int8_t dayOfMonth, in compareToRule() argument 581 ++dayOfMonth; in compareToRule() [all …]
|
D | dtrule.cpp | 23 int32_t dayOfMonth, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 26 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 40 int32_t dayOfMonth, in DateTimeRule() argument 46 …fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(milli… in DateTimeRule()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | Grego.java | 148 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields() local 157 fields[2] = dayOfMonth; in dayToFields() 207 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth() argument 208 int weekInMonth = (dayOfMonth + 6)/7; in getDayOfWeekInMonth() 210 if (dayOfMonth + 7 > monthLength(year, month)) { in getDayOfWeekInMonth()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 146 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields() local 155 fields[2] = dayOfMonth; in dayToFields() 205 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth() argument 206 int weekInMonth = (dayOfMonth + 6)/7; in getDayOfWeekInMonth() 208 if (dayOfMonth + 7 > monthLength(year, month)) { in getDayOfWeekInMonth()
|