/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Grego.java | 73 public static final int monthLength(int year, int month) { 84 return (month > 0) ? monthLength(year, month-1) : 31; 208 if (dayOfMonth + 7 > monthLength(year, month)) {
|
OlsonTimeZone.java | 130 return getOffset(era, year, month, day, dayOfWeek, milliseconds, Grego.monthLength(year, month)); 137 public int getOffset(int era, int year, int month,int dom, int dow, int millis, int monthLength){ 143 || dom > monthLength 148 || monthLength < 28 149 || monthLength > 31) { [all...] |
/external/icu/icu4c/source/i18n/ |
gregoimp.h | 150 static inline int8_t monthLength(int32_t year, int32_t month); 264 Grego::monthLength(int32_t year, int32_t month) { 270 return (m > 0) ? monthLength(y, m-1) : 31;
|
simpletz.cpp | 46 // For actual getOffset() calculations, use Grego::monthLength() and 396 // Check the month before calling Grego::monthLength(). This 408 return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status); 414 int32_t /*monthLength*/, UErrorCode& status) const 416 // Check the month before calling Grego::monthLength(). This 429 // We ignore monthLength because it can be derived from year and month. 433 Grego::monthLength(year, month), 441 int32_t monthLength, int32_t prevMonthLength, 450 || day > monthLength 455 || monthLength < 2 [all...] |
vzone.cpp | 125 int32_t monthLength, UErrorCode& status) { 126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
|
olsontz.h | 176 int32_t millis, int32_t monthLength,
|
vzone.h | 206 * @param monthLength The length of the given month in days. 213 int32_t monthLength, UErrorCode& status);
|
olsontz.cpp | 339 Grego::monthLength(year, month), 349 int32_t millis, int32_t monthLength, 359 || dom > monthLength 364 || monthLength < 28 365 || monthLength > 31) { 376 millis, monthLength, ec); [all...] |
gregocal.cpp | 15 * 04/22/97 aliu Cleaned up code drastically. Added monthLength(). 593 GregorianCalendar::monthLength(int32_t month) const 602 GregorianCalendar::monthLength(int32_t month, int32_t year) const 634 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); 660 date > monthLength(internalGet(UCAL_MONTH))) { 840 int32_t max = monthLength(internalGet(UCAL_MONTH)); [all...] |
gregoimp.cpp | 151 if (dom + 7 > monthLength(year, month)) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Grego.java | 71 public static final int monthLength(int year, int month) { 82 return (month > 0) ? monthLength(year, month-1) : 31; 206 if (dayOfMonth + 7 > monthLength(year, month)) {
|
OlsonTimeZone.java | 128 return getOffset(era, year, month, day, dayOfWeek, milliseconds, Grego.monthLength(year, month)); 135 public int getOffset(int era, int year, int month,int dom, int dow, int millis, int monthLength){ 141 || dom > monthLength 146 || monthLength < 28 147 || monthLength > 31) { [all...] |
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
gregocal.h | 545 virtual int32_t monthLength(int32_t month) const; 554 virtual int32_t monthLength(int32_t month, int32_t year) const;
|
rbtz.h | 165 * @param monthLength The length of the given month in days. 172 int32_t monthLength, UErrorCode& status) const;
|
simpletz.h | 582 * @param monthLength the length of the given month in days. 589 int32_t monthLength, UErrorCode& status) const; 600 * @param monthLength the length of the given month in days. 608 int32_t monthLength, int32_t prevMonthLength, [all...] |
timezone.h | 496 * @param monthLength the length of the given month in days. 503 int32_t monthLength, UErrorCode& status) const = 0; [all...] |
vtzone.h | 229 * @param monthLength The length of the given month in days. 236 int32_t monthLength, UErrorCode& status) const;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
SimpleTimeZone.java | 610 // For actual getOffset() calculations, use TimeZone::monthLength() and 624 // Check the month before calling Grego.monthLength(). This 635 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); 645 int monthLength) { 646 // Check the month before calling Grego.monthLength(). This 658 Grego.monthLength(year, month), Grego.previousMonthLength(year, month)); 663 int monthLength, int prevMonthLength ){ 673 || day > monthLength 678 || monthLength < 28 679 || monthLength > 3 [all...] |
AnnualTimeZoneRule.java | 119 Grego.monthLength(year, dateTimeRule.getRuleMonth()));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
SimpleTimeZone.java | 630 // For actual getOffset() calculations, use TimeZone::monthLength() and 645 // Check the month before calling Grego.monthLength(). This 656 return getOffset(era, year, month, day, dayOfWeek, millis, Grego.monthLength(year, month)); 666 int monthLength) { 667 // Check the month before calling Grego.monthLength(). This 679 Grego.monthLength(year, month), Grego.previousMonthLength(year, month)); 684 int monthLength, int prevMonthLength ){ 694 || day > monthLength 699 || monthLength < 28 700 || monthLength > 3 [all...] |
AnnualTimeZoneRule.java | 129 Grego.monthLength(year, dateTimeRule.getRuleMonth()));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateTimeGeneratorTest.java | 634 int monthLength; 638 return monthLength == other.monthLength; 649 return "{" + monthLength + ", " + fields[0] + ", " + fields[1] + ", " + fields[2] + "}"; 653 return monthLength == other.monthLength && fields[0] == other.fields[0] && fields[1] == other.fields[1] && fields[2] == other.fields[2]; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateTimeGeneratorTest.java | 630 int monthLength; 634 return monthLength == other.monthLength; 645 return "{" + monthLength + ", " + fields[0] + ", " + fields[1] + ", " + fields[2] + "}"; 649 return monthLength == other.monthLength && fields[0] == other.fields[0] && fields[1] == other.fields[1] && fields[2] == other.fields[2]; [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | [all...] |