/third_party/node/deps/icu-small/source/i18n/ |
D | ethpccal.cpp | 85 int32_t eyear; in handleGetExtendedYear() local 87 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 89 eyear = internalGet(UCAL_YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear() 95 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 97 eyear = internalGet(UCAL_YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear() 100 return eyear; in handleGetExtendedYear() 106 int32_t eyear, month, day, era, year; in handleComputeFields() local 107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 111 year = eyear + AMETE_MIHRET_DELTA; in handleComputeFields() 113 if (eyear > 0) { in handleComputeFields() [all …]
|
D | coptccal.cpp | 62 int32_t eyear; in handleGetExtendedYear() local 64 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 69 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year in handleGetExtendedYear() 71 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 74 return eyear; in handleGetExtendedYear() 80 int32_t eyear, month, day, era, year; in handleComputeFields() local 81 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 83 if (eyear <= 0) { in handleComputeFields() 85 year = 1 - eyear; in handleComputeFields() 88 year = eyear; in handleComputeFields() [all …]
|
D | gregocal.cpp | 369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; in handleComputeFields() local 386 eyear = getGregorianYear(); in handleComputeFields() 391 …eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRema… in handleComputeFields() 394 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); in handleComputeFields() 403 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() 427 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) { in handleComputeFields() 429 int32_t gregShift = Grego::gregorianShift(eyear); in handleComputeFields() 440 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields() 442 if (eyear < 1) { in handleComputeFields() 444 eyear = 1 - eyear; in handleComputeFields() [all …]
|
D | indiancal.cpp | 111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { in handleGetMonthLength() argument 113 eyear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength() 116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength() 132 int32_t IndianCalendar::handleGetYearLength(int32_t eyear) const { in handleGetYearLength() 133 return isGregorianLeap(eyear + INDIAN_ERA_START) ? 366 : 365; in handleGetYearLength() 206 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ … in handleComputeMonthStart() argument 213 eyear += (int32_t)ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart() 222 double jd = IndianToJD(eyear ,imonth, 1); in handleComputeMonthStart()
|
D | hebrwcal.cpp | 531 int32_t HebrewCalendar::handleGetYearLength(int32_t eyear) const { in handleGetYearLength() 533 return startOfYear(eyear+1, status) - startOfYear(eyear, status); in handleGetYearLength() 636 int32_t HebrewCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) c… in handleComputeMonthStart() argument 645 month += monthsInYear(--eyear); in handleComputeMonthStart() 649 month -= monthsInYear(eyear++); in handleComputeMonthStart() 652 int32_t day = startOfYear(eyear, status); in handleComputeMonthStart() 659 if (isLeapYear(eyear)) { in handleComputeMonthStart() 660 day += LEAP_MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart() 662 day += MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | ethpccal.cpp | 85 int32_t eyear; in handleGetExtendedYear() local 87 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 89 eyear = internalGet(UCAL_YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear() 95 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 97 eyear = internalGet(UCAL_YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear() 100 return eyear; in handleGetExtendedYear() 106 int32_t eyear, month, day, era, year; in handleComputeFields() local 107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 111 year = eyear + AMETE_MIHRET_DELTA; in handleComputeFields() 113 if (eyear > 0) { in handleComputeFields() [all …]
|
D | coptccal.cpp | 62 int32_t eyear; in handleGetExtendedYear() local 64 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 69 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year in handleGetExtendedYear() 71 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 74 return eyear; in handleGetExtendedYear() 80 int32_t eyear, month, day, era, year; in handleComputeFields() local 81 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 83 if (eyear <= 0) { in handleComputeFields() 85 year = 1 - eyear; in handleComputeFields() 88 year = eyear; in handleComputeFields() [all …]
|
D | gregocal.cpp | 369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; in handleComputeFields() local 386 eyear = getGregorianYear(); in handleComputeFields() 391 …eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRema… in handleComputeFields() 394 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); in handleComputeFields() 403 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() 427 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) { in handleComputeFields() 429 int32_t gregShift = Grego::gregorianShift(eyear); in handleComputeFields() 440 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields() 442 if (eyear < 1) { in handleComputeFields() 444 eyear = 1 - eyear; in handleComputeFields() [all …]
|
D | indiancal.cpp | 111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { in handleGetMonthLength() argument 113 eyear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength() 116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength() 132 int32_t IndianCalendar::handleGetYearLength(int32_t eyear) const { in handleGetYearLength() 133 return isGregorianLeap(eyear + INDIAN_ERA_START) ? 366 : 365; in handleGetYearLength() 206 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ … in handleComputeMonthStart() argument 213 eyear += (int32_t)ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart() 222 double jd = IndianToJD(eyear ,imonth, 1); in handleComputeMonthStart()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | ethpccal.cpp | 85 int32_t eyear; in handleGetExtendedYear() local 87 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 89 eyear = internalGet(UCAL_YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear() 95 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 97 eyear = internalGet(UCAL_YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear() 100 return eyear; in handleGetExtendedYear() 106 int32_t eyear, month, day, era, year; in handleComputeFields() local 107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 111 year = eyear + AMETE_MIHRET_DELTA; in handleComputeFields() 113 if (eyear > 0) { in handleComputeFields() [all …]
|
D | coptccal.cpp | 62 int32_t eyear; in handleGetExtendedYear() local 64 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 69 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year in handleGetExtendedYear() 71 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 74 return eyear; in handleGetExtendedYear() 80 int32_t eyear, month, day, era, year; in handleComputeFields() local 81 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 83 if (eyear <= 0) { in handleComputeFields() 85 year = 1 - eyear; in handleComputeFields() 88 year = eyear; in handleComputeFields() [all …]
|
D | gregocal.cpp | 369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; in handleComputeFields() local 386 eyear = getGregorianYear(); in handleComputeFields() 391 …eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRema… in handleComputeFields() 394 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); in handleComputeFields() 403 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() 427 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) { in handleComputeFields() 429 int32_t gregShift = Grego::gregorianShift(eyear); in handleComputeFields() 440 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields() 442 if (eyear < 1) { in handleComputeFields() 444 eyear = 1 - eyear; in handleComputeFields() [all …]
|
D | hebrwcal.cpp | 530 int32_t HebrewCalendar::handleGetYearLength(int32_t eyear) const { in handleGetYearLength() 532 return startOfYear(eyear+1, status) - startOfYear(eyear, status); in handleGetYearLength() 635 int32_t HebrewCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) c… in handleComputeMonthStart() argument 644 month += monthsInYear(--eyear); in handleComputeMonthStart() 648 month -= monthsInYear(eyear++); in handleComputeMonthStart() 651 int32_t day = startOfYear(eyear, status); in handleComputeMonthStart() 658 if (isLeapYear(eyear)) { in handleComputeMonthStart() 659 day += LEAP_MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart() 661 day += MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart()
|
/third_party/icu/icu4c/source/i18n/ |
D | ethpccal.cpp | 85 int32_t eyear; in handleGetExtendedYear() local 87 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 89 eyear = internalGet(UCAL_YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear() 95 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 97 eyear = internalGet(UCAL_YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear() 100 return eyear; in handleGetExtendedYear() 106 int32_t eyear, month, day, era, year; in handleComputeFields() local 107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 111 year = eyear + AMETE_MIHRET_DELTA; in handleComputeFields() 113 if (eyear > 0) { in handleComputeFields() [all …]
|
D | coptccal.cpp | 62 int32_t eyear; in handleGetExtendedYear() local 64 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 69 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year in handleGetExtendedYear() 71 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 74 return eyear; in handleGetExtendedYear() 80 int32_t eyear, month, day, era, year; in handleComputeFields() local 81 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); in handleComputeFields() 83 if (eyear <= 0) { in handleComputeFields() 85 year = 1 - eyear; in handleComputeFields() 88 year = eyear; in handleComputeFields() [all …]
|
D | gregocal.cpp | 369 int32_t eyear, month, dayOfMonth, dayOfYear, unusedRemainder; in handleComputeFields() local 386 eyear = getGregorianYear(); in handleComputeFields() 391 …eyear = (int32_t) ClockMath::floorDivide((4.0*julianEpochDay) + 1464.0, (int32_t) 1461, unusedRema… in handleComputeFields() 394 int32_t january1 = 365*(eyear-1) + ClockMath::floorDivide(eyear-1, (int32_t)4); in handleComputeFields() 403 UBool isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() 427 if((eyear == fGregorianCutoverYear) && (julianDay >= fCutoverJulianDay)) { in handleComputeFields() 429 int32_t gregShift = Grego::gregorianShift(eyear); in handleComputeFields() 440 internalSet(UCAL_EXTENDED_YEAR, eyear); in handleComputeFields() 442 if (eyear < 1) { in handleComputeFields() 444 eyear = 1 - eyear; in handleComputeFields() [all …]
|
D | indiancal.cpp | 111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { in handleGetMonthLength() argument 113 eyear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength() 116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength() 132 int32_t IndianCalendar::handleGetYearLength(int32_t eyear) const { in handleGetYearLength() 133 return isGregorianLeap(eyear + INDIAN_ERA_START) ? 366 : 365; in handleGetYearLength() 206 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ … in handleComputeMonthStart() argument 213 eyear += (int32_t)ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart() 222 double jd = IndianToJD(eyear ,imonth, 1); in handleComputeMonthStart()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | GregorianCalendar.java | 738 protected int handleGetYearLength(int eyear) { in handleGetYearLength() argument 739 return isLeapYear(eyear) ? 366 : 365; in handleGetYearLength() 759 int eyear, month, dayOfMonth, dayOfYear; in handleComputeFields() local 765 eyear = getGregorianYear(); in handleComputeFields() 770 eyear = (int) floorDivide(4*julianEpochDay + 1464, 1461); in handleComputeFields() 773 long january1 = 365L*(eyear-1L) + floorDivide(eyear-1L, 4L); in handleComputeFields() 782 boolean isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() 797 internalSet(EXTENDED_YEAR, eyear); in handleComputeFields() 799 if (eyear < 1) { in handleComputeFields() 801 eyear = 1 - eyear; in handleComputeFields() [all …]
|
D | HebrewCalendar.java | 754 protected int handleGetYearLength(int eyear) { in handleGetYearLength() argument 755 return (int)(startOfYear(eyear+1) - startOfYear(eyear)); in handleGetYearLength() 858 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { in handleComputeMonthStart() argument 867 month += monthsInYear(--eyear); in handleComputeMonthStart() 871 month -= monthsInYear(eyear++); in handleComputeMonthStart() 874 long day = startOfYear(eyear); in handleComputeMonthStart() 877 if (isLeapYear(eyear)) { in handleComputeMonthStart() 878 day += LEAP_MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart() 880 day += MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart()
|
D | EthiopicCalendar.java | 305 int eyear; in handleGetExtendedYear() local 307 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 309 eyear = internalGet(YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear() 315 eyear = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear() 317 eyear = internalGet(YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear() 320 return eyear; in handleGetExtendedYear()
|
D | CopticCalendar.java | 253 int eyear; in handleGetExtendedYear() local 255 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 260 eyear = 1 - internalGet(YEAR, 1); // Convert to extended year in handleGetExtendedYear() 262 eyear = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear() 265 return eyear; in handleGetExtendedYear()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | GregorianCalendar.java | 714 protected int handleGetYearLength(int eyear) { in handleGetYearLength() argument 715 return isLeapYear(eyear) ? 366 : 365; in handleGetYearLength() 734 int eyear, month, dayOfMonth, dayOfYear; in handleComputeFields() local 740 eyear = getGregorianYear(); in handleComputeFields() 745 eyear = (int) floorDivide(4*julianEpochDay + 1464, 1461); in handleComputeFields() 748 long january1 = 365L*(eyear-1L) + floorDivide(eyear-1L, 4L); in handleComputeFields() 757 boolean isLeap = ((eyear&0x3) == 0); // equiv. to (eyear%4 == 0) in handleComputeFields() 772 internalSet(EXTENDED_YEAR, eyear); in handleComputeFields() 774 if (eyear < 1) { in handleComputeFields() 776 eyear = 1 - eyear; in handleComputeFields() [all …]
|
D | HebrewCalendar.java | 722 protected int handleGetYearLength(int eyear) { in handleGetYearLength() argument 723 return (int)(startOfYear(eyear+1) - startOfYear(eyear)); in handleGetYearLength() 820 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { in handleComputeMonthStart() argument 829 month += monthsInYear(--eyear); in handleComputeMonthStart() 833 month -= monthsInYear(eyear++); in handleComputeMonthStart() 836 long day = startOfYear(eyear); in handleComputeMonthStart() 839 if (isLeapYear(eyear)) { in handleComputeMonthStart() 840 day += LEAP_MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart() 842 day += MONTH_START[month][yearType(eyear)]; in handleComputeMonthStart()
|
D | EthiopicCalendar.java | 278 int eyear; in handleGetExtendedYear() local 280 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 282 eyear = internalGet(YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear() 288 eyear = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear() 290 eyear = internalGet(YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear() 293 return eyear; in handleGetExtendedYear()
|
D | CopticCalendar.java | 229 int eyear; in handleGetExtendedYear() local 231 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 236 eyear = 1 - internalGet(YEAR, 1); // Convert to extended year in handleGetExtendedYear() 238 eyear = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear() 241 return eyear; in handleGetExtendedYear()
|