Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/java/android/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()
DOlsonTimeZone.java132 … return getOffset(era, year, month, day, dayOfWeek, milliseconds, Grego.monthLength(year, month)); in getOffset()
139 … public int getOffset(int era, int year, int month,int dom, int dow, int millis, int monthLength){ in getOffset() argument
145 || dom > monthLength in getOffset()
150 || monthLength < 28 in getOffset()
151 || monthLength > 31) { in getOffset()
/external/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.cpp410 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
435 Grego::monthLength(year, month), in getOffset()
443 int32_t monthLength, int32_t prevMonthLength, in getOffset() argument
452 || day > monthLength in getOffset()
457 || monthLength < 28 in getOffset()
458 || monthLength > 31 in getOffset()
477 … int32_t startCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
491 endCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
526 Grego::monthLength(year, month), in getOffsetFromLocal()
554 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()
Dvzone.h216 int32_t monthLength, UErrorCode& status);
Dgregoimp.cpp154 if (dom + 7 > monthLength(year, month)) { in dayOfWeekInMonth()
Dolsontz.h178 int32_t millis, int32_t monthLength,
Dtzrule.cpp286 Grego::monthLength(year, fDateTimeRule->getRuleMonth())); in getStartInYear()
Dvtzone.cpp266 int32_t maxDayOfMonth = Grego::monthLength(year, month); in parseDateTimeString()
1194 int32_t monthLength, UErrorCode& status) const { in getOffset() argument
1195 return tz->getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in getOffset()
/external/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()
/external/icu/android_icu4j/src/main/java/android/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()
DAnnualTimeZoneRule.java121 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
/external/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()
DAnnualTimeZoneRule.java131 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h547 virtual int32_t monthLength(int32_t month) const;
556 virtual int32_t monthLength(int32_t month, int32_t year) const;
Dsimpletz.h591 int32_t monthLength, UErrorCode& status) const;
610 int32_t monthLength, int32_t prevMonthLength,
Drbtz.h174 int32_t monthLength, UErrorCode& status) const;
Dtimezone.h505 int32_t monthLength, UErrorCode& status) const = 0;
Dvtzone.h238 int32_t monthLength, UErrorCode& status) const;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java736 int monthLength; field in DateTimeGeneratorTest.DateOrder
740 return monthLength == other.monthLength; in isCompatible()
752 … return "{" + monthLength + ", " + fields[0] + ", " + fields[1] + ", " + fields[2] + "}"; in toString()
757 …return monthLength == other.monthLength && fields[0] == other.fields[0] && fields[1] == other.fiel… in equals()
846 result.monthLength = variableField.length(); in getOrdering()
847 if (result.monthLength < 2) { in getOrdering()
848 result.monthLength = 2; in getOrdering()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java733 int monthLength; field in DateTimeGeneratorTest.DateOrder
737 return monthLength == other.monthLength; in isCompatible()
749 … return "{" + monthLength + ", " + fields[0] + ", " + fields[1] + ", " + fields[2] + "}"; in toString()
754 …return monthLength == other.monthLength && fields[0] == other.fields[0] && fields[1] == other.fiel… in equals()
843 result.monthLength = variableField.length(); in getOrdering()
844 if (result.monthLength < 2) { in getOrdering()
845 result.monthLength = 2; in getOrdering()

12