/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | HebrewCalendar.java | 343 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar() 380 public HebrewCalendar(int year, int month, int date, int hour, in HebrewCalendar() 436 int year = get(YEAR); in add() local 516 int year = get(YEAR); in roll() local 582 private static long startOfYear(int year) in startOfYear() 635 private final int yearType(int year) in yearType() 669 public static boolean isLeapYear(int year) { in isLeapYear() 675 private static int monthsInYear(int year) { in monthsInYear() 771 int year = (int)((19 * m + 234) / 235) + 1; // Years (approx) in handleComputeFields() local 808 int year; in handleGetExtendedYear() local
|
D | IndianCalendar.java | 234 public IndianCalendar(int year, int month, int date) { in IndianCalendar() 260 public IndianCalendar(int year, int month, int date, int hour, in IndianCalendar() 289 int year; in handleGetExtendedYear() local 413 protected int handleComputeMonthStart(int year, int month, boolean useMonth) { in handleComputeMonthStart() 439 private static double IndianToJD(int year, int month, int date) { in IndianToJD() 478 private static double gregorianToJD(int year, int month, int date) { in gregorianToJD() 499 int year, month, day; in jdToGregorian() local 539 private static boolean isGregorianLeap(int year) in isGregorianLeap()
|
D | PersianCalendar.java | 225 public PersianCalendar(int year, int month, int date) in PersianCalendar() 253 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar() 312 private final static boolean isLeapYear(int year) in isLeapYear() 394 int year; in handleGetExtendedYear() local 422 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | HebrewCalendar.java | 363 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar() 402 public HebrewCalendar(int year, int month, int date, int hour, in HebrewCalendar() 460 int year = get(YEAR); in add() local 542 int year = get(YEAR); in roll() local 608 private static long startOfYear(int year) in startOfYear() 662 private final int yearType(int year) in yearType() 695 public static boolean isLeapYear(int year) { in isLeapYear() 701 private static int monthsInYear(int year) { in monthsInYear() 805 int year = (int)(floorDivide((19 * m + 234), 235) + 1); // Years (approx) in handleComputeFields() local 844 int year; in handleGetExtendedYear() local
|
D | PersianCalendar.java | 223 public PersianCalendar(int year, int month, int date) in PersianCalendar() 251 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar() 310 private final static boolean isLeapYear(int year) in isLeapYear() 392 int year; in handleGetExtendedYear() local 420 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
|
D | IndianCalendar.java | 256 public IndianCalendar(int year, int month, int date) { in IndianCalendar() 283 public IndianCalendar(int year, int month, int date, int hour, in IndianCalendar() 313 int year; in handleGetExtendedYear() local 442 protected int handleComputeMonthStart(int year, int month, boolean useMonth) { in handleComputeMonthStart() 468 private double IndianToJD(int year, int month, int date) { in IndianToJD() 507 private double gregorianToJD(int year, int month, int date) { in gregorianToJD()
|
D | JapaneseCalendar.java | 175 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar() 194 public JapaneseCalendar(int year, int month, int date) { in JapaneseCalendar() 219 public JapaneseCalendar(int year, int month, int date, int hour, in JapaneseCalendar() 281 int year; in handleGetExtendedYear() local 346 int year = internalGet(EXTENDED_YEAR); in handleComputeFields() local
|
/third_party/ltp/lib/ |
D | tst_rtctime.c | 20 static inline bool is_leap_year(unsigned int year) in is_leap_year() 29 unsigned int mon = mon0, year = year0; in tst_mktime() local 49 static int rtc_month_days(unsigned int month, unsigned int year) in rtc_month_days() 60 unsigned int month, year, secs; in tst_rtc_time_to_tm() local
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | Grego.java | 64 public static final boolean isLeapYear(int year) { in isLeapYear() 75 public static final int monthLength(int year, int month) { in monthLength() 85 public static final int previousMonthLength(int year, int month) { in previousMonthLength() 97 public static long fieldsToDay(int year, int month, int dom) { in fieldsToDay() 132 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); in dayToFields() local 207 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Grego.java | 62 public static final boolean isLeapYear(int year) { in isLeapYear() 73 public static final int monthLength(int year, int month) { in monthLength() 83 public static final int previousMonthLength(int year, int month) { in previousMonthLength() 95 public static long fieldsToDay(int year, int month, int dom) { in fieldsToDay() 130 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); in dayToFields() local 205 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | persncal.cpp | 110 UBool PersianCalendar::isLeapYear(int32_t year) in isLeapYear() 121 int32_t PersianCalendar::yearStart(int32_t year) { in yearStart() 132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() 189 int32_t year; in handleGetExtendedYear() local 213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
|
D | erarules.cpp | 38 static UBool isValidRuleStartDate(int32_t year, int32_t month, int32_t day) { in isValidRuleStartDate() 53 static int32_t encodeDate(int32_t year, int32_t month, int32_t day) { in encodeDate() 78 static int32_t compareEncodedDateWithYMD(int encoded, int year, int month, int day) { in compareEncodedDateWithYMD() 243 int year = MAX_INT32; // bogus value in getStartYear() local 258 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex() 292 int year, month0, dom, dow, doy, mid; in initCurrentEra() local
|
D | hebrwcal.cpp | 228 int32_t year = get(UCAL_YEAR, status); in add() local 320 int32_t year = get(UCAL_YEAR, status); in roll() local 390 int32_t HebrewCalendar::startOfYear(int32_t year, UErrorCode &status) in startOfYear() 474 UBool HebrewCalendar::isLeapYear(int32_t year) { in isLeapYear() 480 int32_t HebrewCalendar::monthsInYear(int32_t year) { in monthsInYear() 570 int32_t year = (int32_t)( ((19. * m + 234.) / 235.) + 1.); // Years (approx) in handleComputeFields() local 622 int32_t year; in handleGetExtendedYear() local
|
/third_party/node/deps/icu-small/source/i18n/ |
D | persncal.cpp | 110 UBool PersianCalendar::isLeapYear(int32_t year) in isLeapYear() 121 int32_t PersianCalendar::yearStart(int32_t year) { in yearStart() 132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() 189 int32_t year; in handleGetExtendedYear() local 213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
|
D | erarules.cpp | 41 static UBool isValidRuleStartDate(int32_t year, int32_t month, int32_t day) { in isValidRuleStartDate() 56 static int32_t encodeDate(int32_t year, int32_t month, int32_t day) { in encodeDate() 81 static int32_t compareEncodedDateWithYMD(int encoded, int year, int month, int day) { in compareEncodedDateWithYMD() 246 int year = MAX_INT32; // bogus value in getStartYear() local 261 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex() 308 int year, month0, dom, dow, doy, mid; in initCurrentEra() local
|
D | hebrwcal.cpp | 228 int32_t year = get(UCAL_YEAR, status); in add() local 320 int32_t year = get(UCAL_YEAR, status); in roll() local 390 int32_t HebrewCalendar::startOfYear(int32_t year, UErrorCode &status) in startOfYear() 475 UBool HebrewCalendar::isLeapYear(int32_t year) { in isLeapYear() 481 int32_t HebrewCalendar::monthsInYear(int32_t year) { in monthsInYear() 571 …int32_t year = (int32_t)(ClockMath::floorDivide((19. * m + 234.), 235.) + 1.); // Years (appro… in handleComputeFields() local 623 int32_t year; in handleGetExtendedYear() local
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | persncal.cpp | 110 UBool PersianCalendar::isLeapYear(int32_t year) in isLeapYear() 121 int32_t PersianCalendar::yearStart(int32_t year) { in yearStart() 132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() 189 int32_t year; in handleGetExtendedYear() local 213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
|
D | erarules.cpp | 41 static UBool isValidRuleStartDate(int32_t year, int32_t month, int32_t day) { in isValidRuleStartDate() 56 static int32_t encodeDate(int32_t year, int32_t month, int32_t day) { in encodeDate() 81 static int32_t compareEncodedDateWithYMD(int encoded, int year, int month, int day) { in compareEncodedDateWithYMD() 246 int year = MAX_INT32; // bogus value in getStartYear() local 261 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex() 308 int year, month0, dom, dow, doy, mid; in initCurrentEra() local
|
D | hebrwcal.cpp | 228 int32_t year = get(UCAL_YEAR, status); in add() local 320 int32_t year = get(UCAL_YEAR, status); in roll() local 390 int32_t HebrewCalendar::startOfYear(int32_t year, UErrorCode &status) in startOfYear() 475 UBool HebrewCalendar::isLeapYear(int32_t year) { in isLeapYear() 481 int32_t HebrewCalendar::monthsInYear(int32_t year) { in monthsInYear() 571 …int32_t year = (int32_t)(ClockMath::floorDivide((19. * m + 234.), 235.) + 1.); // Years (appro… in handleComputeFields() local 623 int32_t year; in handleGetExtendedYear() local
|
/third_party/icu/icu4c/source/i18n/ |
D | persncal.cpp | 110 UBool PersianCalendar::isLeapYear(int32_t year) in isLeapYear() 121 int32_t PersianCalendar::yearStart(int32_t year) { in yearStart() 132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() 189 int32_t year; in handleGetExtendedYear() local 213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
|
D | erarules.cpp | 41 static UBool isValidRuleStartDate(int32_t year, int32_t month, int32_t day) { in isValidRuleStartDate() 56 static int32_t encodeDate(int32_t year, int32_t month, int32_t day) { in encodeDate() 81 static int32_t compareEncodedDateWithYMD(int encoded, int year, int month, int day) { in compareEncodedDateWithYMD() 246 int year = MAX_INT32; // bogus value in getStartYear() local 261 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex() 308 int year, month0, dom, dow, doy, mid; in initCurrentEra() local
|
D | hebrwcal.cpp | 228 int32_t year = get(UCAL_YEAR, status); in add() local 320 int32_t year = get(UCAL_YEAR, status); in roll() local 390 int32_t HebrewCalendar::startOfYear(int32_t year, UErrorCode &status) in startOfYear() 475 UBool HebrewCalendar::isLeapYear(int32_t year) { in isLeapYear() 481 int32_t HebrewCalendar::monthsInYear(int32_t year) { in monthsInYear() 571 …int32_t year = (int32_t)(ClockMath::floorDivide((19. * m + 234.), 235.) + 1.); // Years (appro… in handleComputeFields() local 623 int32_t year; in handleGetExtendedYear() local
|
/third_party/python/Lib/ |
D | calendar.py | 100 def isleap(year): argument 113 def weekday(year, month, day): argument 120 def monthrange(year, month): argument 130 def _monthlen(year, month): argument 134 def _prevmonth(year, month): argument 141 def _nextmonth(year, month): argument 173 def itermonthdates(self, year, month): argument 182 def itermonthdays(self, year, month): argument 194 def itermonthdays2(self, year, month): argument 202 def itermonthdays3(self, year, month): argument [all …]
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-helpers-date.c | 93 ecma_date_day_from_year (ecma_number_t year) /**< year value */ in ecma_date_day_from_year() 112 ecma_date_time_from_year (ecma_number_t year) /**< year value */ in ecma_date_time_from_year() 135 ecma_number_t year = (ecma_number_t) (1970 + 285616); in ecma_date_year_from_time() local 171 ecma_date_in_leap_year (ecma_number_t year) /**< time value */ in ecma_date_in_leap_year() 216 ecma_number_t year = ecma_date_year_from_time (time); in ecma_date_month_from_time() local 260 ecma_number_t year = ecma_date_year_from_time (time); in ecma_date_date_from_time() local 467 ecma_date_make_day (ecma_number_t year, /**< year value */ in ecma_date_make_day()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | time.cc | 29 int64 SecondsPer100Years(int year) { in SecondsPer100Years() 39 int64 SecondsPer4Years(int year) { in SecondsPer4Years() 50 bool IsLeapYear(int year) { in IsLeapYear() 54 int64 SecondsPerYear(int year) { in SecondsPerYear() 95 int year = 1; in SecondsSinceCommonEra() local 217 int year = 1; in SecondsToDateTime() local
|