Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java71 public static final int monthLength(int year, int month) { in monthLength() method in Grego
82 return (month > 0) ? monthLength(year, month-1) : 31; in previousMonthLength()
206 if (dayOfMonth + 7 > monthLength(year, month)) { in getDayOfWeekInMonth()
DOlsonTimeZone.java128 … return getOffset(era, year, month, day, dayOfWeek, milliseconds, Grego.monthLength(year, month)); in getOffset()
135 … public int getOffset(int era, int year, int month,int dom, int dow, int millis, int monthLength){ in getOffset() argument
141 || dom > monthLength in getOffset()
146 || monthLength < 28 in getOffset()
147 || monthLength > 31) { in getOffset()
/external/icu/android_icu4j/src/main/java/android/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/icu4c/source/i18n/
Dgregoimp.h150 static inline int8_t monthLength(int32_t year, int32_t month);
264 Grego::monthLength(int32_t year, int32_t month) { in monthLength() function
270 return (m > 0) ? monthLength(y, m-1) : 31; in previousMonthLength()
Dsimpletz.cpp408 …return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status… in getOffset()
433 Grego::monthLength(year, month), in getOffset()
441 int32_t monthLength, int32_t prevMonthLength, in getOffset() argument
450 || day > monthLength in getOffset()
455 || monthLength < 28 in getOffset()
456 || monthLength > 31 in getOffset()
475 … int32_t startCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
489 endCompare = compareToRule((int8_t)month, (int8_t)monthLength, (int8_t)prevMonthLength, in getOffset()
524 Grego::monthLength(year, month), in getOffsetFromLocal()
552 Grego::monthLength(year, month), in getOffsetFromLocal()
Dolsontz.cpp339 Grego::monthLength(year, month), in getOffset()
349 int32_t millis, int32_t monthLength, in getOffset() argument
359 || dom > monthLength in getOffset()
364 || monthLength < 28 in getOffset()
365 || monthLength > 31) { in getOffset()
376 millis, monthLength, ec); in getOffset()
Dgregocal.cpp593 GregorianCalendar::monthLength(int32_t month) const in monthLength() function in GregorianCalendar
602 GregorianCalendar::monthLength(int32_t month, int32_t year) const in monthLength() function in GregorianCalendar
634 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); in pinDayOfMonth()
660 date > monthLength(internalGet(UCAL_MONTH))) { in validateFields()
840 int32_t max = monthLength(internalGet(UCAL_MONTH)); in roll()
Dvzone.cpp125 int32_t monthLength, UErrorCode& status) { in vzone_getOffset2() argument
126 …meZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in vzone_getOffset2()
Dvzone.h213 int32_t monthLength, UErrorCode& status);
Dolsontz.h176 int32_t millis, int32_t monthLength,
Dgregoimp.cpp151 if (dom + 7 > monthLength(year, month)) { in dayOfWeekInMonth()
Dtzrule.cpp284 Grego::monthLength(year, fDateTimeRule->getRuleMonth())); in getStartInYear()
Dvtzone.cpp264 int32_t maxDayOfMonth = Grego::monthLength(year, month); in parseDateTimeString()
1192 int32_t monthLength, UErrorCode& status) const { in getOffset() argument
1193 return tz->getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status); in getOffset()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleTimeZone.java656 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); in getOffset()
666 int monthLength) { in getOffset() argument
679 Grego.monthLength(year, month), Grego.previousMonthLength(year, month)); in getOffset()
684 int monthLength, int prevMonthLength ){ in getOffset() argument
694 || day > monthLength in getOffset()
699 || monthLength < 28 in getOffset()
700 || monthLength > 31 in getOffset()
751 int startCompare = compareToRule(month, monthLength, prevMonthLength, in getOffset()
768 endCompare = compareToRule(month, monthLength, prevMonthLength, in getOffset()
DAnnualTimeZoneRule.java129 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DSimpleTimeZone.java635 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); in getOffset()
645 int monthLength) { in getOffset() argument
658 Grego.monthLength(year, month), Grego.previousMonthLength(year, month)); in getOffset()
663 int monthLength, int prevMonthLength ){ in getOffset() argument
673 || day > monthLength in getOffset()
678 || monthLength < 28 in getOffset()
679 || monthLength > 31 in getOffset()
730 int startCompare = compareToRule(month, monthLength, prevMonthLength, in getOffset()
747 endCompare = compareToRule(month, monthLength, prevMonthLength, in getOffset()
DAnnualTimeZoneRule.java119 Grego.monthLength(year, dateTimeRule.getRuleMonth())); in getStartInYear()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java634 int monthLength; field in DateTimeGeneratorTest.DateOrder
638 return monthLength == other.monthLength; in isCompatible()
649 … return "{" + monthLength + ", " + fields[0] + ", " + fields[1] + ", " + fields[2] + "}"; in toString()
653 …return monthLength == other.monthLength && fields[0] == other.fields[0] && fields[1] == other.fiel… in equals()
742 result.monthLength = variableField.length(); in getOrdering()
743 if (result.monthLength < 2) { in getOrdering()
744 result.monthLength = 2; in getOrdering()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java630 int monthLength; field in DateTimeGeneratorTest.DateOrder
634 return monthLength == other.monthLength; in isCompatible()
645 … return "{" + monthLength + ", " + fields[0] + ", " + fields[1] + ", " + fields[2] + "}"; in toString()
649 …return monthLength == other.monthLength && fields[0] == other.fields[0] && fields[1] == other.fiel… in equals()
738 result.monthLength = variableField.length(); in getOrdering()
739 if (result.monthLength < 2) { in getOrdering()
740 result.monthLength = 2; in getOrdering()
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h545 virtual int32_t monthLength(int32_t month) const;
554 virtual int32_t monthLength(int32_t month, int32_t year) const;
Dsimpletz.h589 int32_t monthLength, UErrorCode& status) const;
608 int32_t monthLength, int32_t prevMonthLength,
Drbtz.h172 int32_t monthLength, UErrorCode& status) const;
Dtimezone.h503 int32_t monthLength, UErrorCode& status) const = 0;
Dvtzone.h236 int32_t monthLength, UErrorCode& status) const;

12