Home
last modified time | relevance | path

Searched refs:monthLength (Results 1 – 25 of 68) sorted by relevance

123

/third_party/node/deps/icu-small/source/i18n/
Dgregoimp.h163 static inline int8_t monthLength(int32_t year, int32_t month);
277 Grego::monthLength(int32_t year, int32_t month) { in monthLength() function
283 return (m > 0) ? monthLength(y, m-1) : 31; in previousMonthLength()
Dsimpletz.cpp411 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
436 Grego::monthLength(year, month), in getOffset()
444 int32_t monthLength, int32_t prevMonthLength, in getOffset() argument
453 || day > monthLength in getOffset()
458 || monthLength < 28 in getOffset()
459 || monthLength > 31 in getOffset()
478 … int32_t startCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
492 endCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
528 Grego::monthLength(year, month), in getOffsetFromLocal()
555 Grego::monthLength(year, month), in getOffsetFromLocal()
Dolsontz.cpp341 Grego::monthLength(year, month), in getOffset()
351 int32_t millis, int32_t monthLength, in getOffset() argument
361 || dom > monthLength in getOffset()
366 || monthLength < 28 in getOffset()
367 || monthLength > 31) { in getOffset()
378 millis, monthLength, ec); in getOffset()
Dgregocal.cpp597 GregorianCalendar::monthLength(int32_t month) const in monthLength() function in GregorianCalendar
606 GregorianCalendar::monthLength(int32_t month, int32_t year) const in monthLength() function in GregorianCalendar
638 int32_t monthLen = monthLength(internalGetMonth()); in pinDayOfMonth()
664 date > monthLength(internalGetMonth())) { in validateFields()
843 int32_t max = monthLength(internalGetMonth()); in roll()
Dvzone.cpp127 int32_t monthLength, UErrorCode& status) { in vzone_getOffset2() argument
128 …meZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in vzone_getOffset2()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DGrego.java75 public static final int monthLength(int year, int month) { in monthLength() method in Grego
86 return (month > 0) ? monthLength(year, month-1) : 31; in previousMonthLength()
210 if (dayOfMonth + 7 > monthLength(year, month)) { in getDayOfWeekInMonth()
/third_party/skia/third_party/externals/icu/source/i18n/
Dgregoimp.h163 static inline int8_t monthLength(int32_t year, int32_t month);
277 Grego::monthLength(int32_t year, int32_t month) { in monthLength() function
283 return (m > 0) ? monthLength(y, m-1) : 31; in previousMonthLength()
Dsimpletz.cpp411 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
436 Grego::monthLength(year, month), in getOffset()
444 int32_t monthLength, int32_t prevMonthLength, in getOffset() argument
453 || day > monthLength in getOffset()
458 || monthLength < 28 in getOffset()
459 || monthLength > 31 in getOffset()
478 … int32_t startCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
492 endCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
529 Grego::monthLength(year, month), in getOffsetFromLocal()
557 Grego::monthLength(year, month), in getOffsetFromLocal()
Dolsontz.cpp341 Grego::monthLength(year, month), in getOffset()
351 int32_t millis, int32_t monthLength, in getOffset() argument
361 || dom > monthLength in getOffset()
366 || monthLength < 28 in getOffset()
367 || monthLength > 31) { in getOffset()
378 millis, monthLength, ec); in getOffset()
Dgregocal.cpp595 GregorianCalendar::monthLength(int32_t month) const in monthLength() function in GregorianCalendar
604 GregorianCalendar::monthLength(int32_t month, int32_t year) const in monthLength() function in GregorianCalendar
636 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); in pinDayOfMonth()
662 date > monthLength(internalGet(UCAL_MONTH))) { in validateFields()
842 int32_t max = monthLength(internalGet(UCAL_MONTH)); in roll()
Dvzone.cpp127 int32_t monthLength, UErrorCode& status) { in vzone_getOffset2() argument
128 …meZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in vzone_getOffset2()
/third_party/icu/icu4c/source/i18n/
Dgregoimp.h163 static inline int8_t monthLength(int32_t year, int32_t month);
277 Grego::monthLength(int32_t year, int32_t month) { in monthLength() function
283 return (m > 0) ? monthLength(y, m-1) : 31; in previousMonthLength()
Dsimpletz.cpp411 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
436 Grego::monthLength(year, month), in getOffset()
444 int32_t monthLength, int32_t prevMonthLength, in getOffset() argument
453 || day > monthLength in getOffset()
458 || monthLength < 28 in getOffset()
459 || monthLength > 31 in getOffset()
478 … int32_t startCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
492 endCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
528 Grego::monthLength(year, month), in getOffsetFromLocal()
555 Grego::monthLength(year, month), in getOffsetFromLocal()
Dolsontz.cpp341 Grego::monthLength(year, month), in getOffset()
351 int32_t millis, int32_t monthLength, in getOffset() argument
361 || dom > monthLength in getOffset()
366 || monthLength < 28 in getOffset()
367 || monthLength > 31) { in getOffset()
378 millis, monthLength, ec); in getOffset()
Dgregocal.cpp595 GregorianCalendar::monthLength(int32_t month) const in monthLength() function in GregorianCalendar
604 GregorianCalendar::monthLength(int32_t month, int32_t year) const in monthLength() function in GregorianCalendar
636 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); in pinDayOfMonth()
662 date > monthLength(internalGet(UCAL_MONTH))) { in validateFields()
842 int32_t max = monthLength(internalGet(UCAL_MONTH)); in roll()
Dvzone.cpp127 int32_t monthLength, UErrorCode& status) { in vzone_getOffset2() argument
128 …meZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in vzone_getOffset2()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java73 public static final int monthLength(int year, int month) { in monthLength() method in Grego
84 return (month > 0) ? monthLength(year, month-1) : 31; in previousMonthLength()
208 if (dayOfMonth + 7 > monthLength(year, month)) { in getDayOfWeekInMonth()
DOlsonTimeZone.java130 … return getOffset(era, year, month, day, dayOfWeek, milliseconds, Grego.monthLength(year, month)); in getOffset()
137 … public int getOffset(int era, int year, int month,int dom, int dow, int millis, int monthLength){ in getOffset() argument
143 || dom > monthLength in getOffset()
148 || monthLength < 28 in getOffset()
149 || monthLength > 31) { in getOffset()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleTimeZone.java660 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); in getOffset()
670 int monthLength) { in getOffset() argument
683 Grego.monthLength(year, month), Grego.previousMonthLength(year, month)); in getOffset()
688 int monthLength, int prevMonthLength ){ in getOffset() argument
698 || day > monthLength in getOffset()
703 || monthLength < 28 in getOffset()
704 || monthLength > 31 in getOffset()
755 int startCompare = compareToRule(month, monthLength, prevMonthLength, in getOffset()
772 endCompare = compareToRule(month, monthLength, prevMonthLength, in getOffset()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DSimpleTimeZone.java639 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); in getOffset()
649 int monthLength) { in getOffset() argument
662 Grego.monthLength(year, month), Grego.previousMonthLength(year, month)); in getOffset()
667 int monthLength, int prevMonthLength ){ in getOffset() argument
677 || day > monthLength in getOffset()
682 || monthLength < 28 in getOffset()
683 || monthLength > 31 in getOffset()
734 int startCompare = compareToRule(month, monthLength, prevMonthLength, in getOffset()
751 endCompare = compareToRule(month, monthLength, prevMonthLength, in getOffset()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dgregocal.h551 virtual int32_t monthLength(int32_t month) const;
560 virtual int32_t monthLength(int32_t month, int32_t year) const;
/third_party/node/deps/icu-small/source/i18n/unicode/
Dgregocal.h527 virtual int32_t monthLength(int32_t month) const;
536 virtual int32_t monthLength(int32_t month, int32_t year) const;
/third_party/icu/icu4c/source/i18n/unicode/
Dgregocal.h538 virtual int32_t monthLength(int32_t month) const;
547 virtual int32_t monthLength(int32_t month, int32_t year) const;
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateTimeGeneratorTest.java756 int monthLength; field in DateTimeGeneratorTest.DateOrder
760 return monthLength == other.monthLength; in isCompatible()
772 … return "{" + monthLength + ", " + fields[0] + ", " + fields[1] + ", " + fields[2] + "}"; in toString()
777 …return monthLength == other.monthLength && fields[0] == other.fields[0] && fields[1] == other.fiel… in equals()
866 result.monthLength = variableField.length(); in getOrdering()
867 if (result.monthLength < 2) { in getOrdering()
868 result.monthLength = 2; in getOrdering()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java753 int monthLength; field in DateTimeGeneratorTest.DateOrder
757 return monthLength == other.monthLength; in isCompatible()
769 … return "{" + monthLength + ", " + fields[0] + ", " + fields[1] + ", " + fields[2] + "}"; in toString()
774 …return monthLength == other.monthLength && fields[0] == other.fields[0] && fields[1] == other.fiel… in equals()
863 result.monthLength = variableField.length(); in getOrdering()
864 if (result.monthLength < 2) { in getOrdering()
865 result.monthLength = 2; in getOrdering()

123