/third_party/musl/porting/liteos_a/kernel/src/time/ |
H A D | __secs_to_tm.c | 16 int months; in __secs_to_tm() local 60 for (months=0; days_in_month[months] <= remdays; months++) in __secs_to_tm() 61 remdays -= days_in_month[months]; in __secs_to_tm() 63 if (months >= 10) { in __secs_to_tm() 64 months -= 12; in __secs_to_tm() 72 tm->tm_mon = months + 2; in __secs_to_tm()
|
/third_party/musl/porting/uniproton/kernel/src/time/ |
H A D | __secs_to_tm.c | 16 int months; in __secs_to_tm() local 60 for (months=0; days_in_month[months] <= remdays; months++) in __secs_to_tm() 61 remdays -= days_in_month[months]; in __secs_to_tm() 63 if (months >= 10) { in __secs_to_tm() 64 months -= 12; in __secs_to_tm() 72 tm->tm_mon = months + 2; in __secs_to_tm()
|
/third_party/musl/porting/liteos_m/kernel/src/time/ |
H A D | __secs_to_tm.c | 16 int months; in __secs_to_tm() local 60 for (months=0; days_in_month[months] <= remdays; months++) in __secs_to_tm() 61 remdays -= days_in_month[months]; in __secs_to_tm() 63 if (months >= 10) { in __secs_to_tm() 64 months -= 12; in __secs_to_tm() 72 tm->tm_mon = months + 2; in __secs_to_tm()
|
/third_party/musl/src/time/ |
H A D | __secs_to_tm.c | 16 int months; in __secs_to_tm() local 60 for (months=0; days_in_month[months] <= remdays; months++) in __secs_to_tm() 61 remdays -= days_in_month[months]; in __secs_to_tm() 63 if (months >= 10) { in __secs_to_tm() 64 months -= 12; in __secs_to_tm() 72 tm->tm_mon = months + 2; in __secs_to_tm()
|
/third_party/icu/icu4c/source/samples/cal/ |
H A D | cal.c | 68 UChar *months [], UBool useLongNames, 71 static void free_months(UChar *months[]); 83 UChar *days [], UChar *months [], 93 /* Number of months in a year (yes, 13) */ 96 /* Separation between months in year view */ 172 /* Adjust because months are 0-based */ in main() 237 UChar *months [MONTH_COUNT]; in cal() local 257 print_year(c, days, months, useLongNames, fdow, status); in cal() 363 UChar *months [], in get_months() 372 get_symbols(fmt, monthType, months, MONTH_COUN in get_months() 375 free_months(UChar *months[]) free_months() argument [all...] |
/third_party/skia/third_party/externals/icu/source/samples/cal/ |
H A D | cal.c | 68 UChar *months [], UBool useLongNames, 71 static void free_months(UChar *months[]); 83 UChar *days [], UChar *months [], 93 /* Number of months in a year (yes, 13) */ 96 /* Separation between months in year view */ 172 /* Adjust because months are 0-based */ in main() 237 UChar *months [MONTH_COUNT]; in cal() local 257 print_year(c, days, months, useLongNames, fdow, status); in cal() 363 UChar *months [], in get_months() 372 get_symbols(fmt, monthType, months, MONTH_COUN in get_months() 375 free_months(UChar *months[]) free_months() argument [all...] |
/third_party/node/deps/npm/node_modules/tiny-relative-date/translations/ |
H A D | en-short.js | 13 monthsAgo: (months) => `${Math.round(months / 12 * 52)}w`, 27 monthsFromNow: (months) => `+${Math.round(months / 12 * 52)}w`,
|
/third_party/notofonts/scripts/ |
H A D | issue-stats.py | 83 months = [ variable 103 months, 112 months, 120 months, 176 bars = ax.bar(months, release_count_per_month) 183 "month": months[i - 1],
|
/third_party/python/Lib/ |
H A D | calendar.py | 40 # Constants for months referenced later 94 # Full and abbreviated names of months (1-based arrays!!!) 259 value is a list of month rows. Each month row contains up to width months. 263 months = [ 267 return [months[i:i+width] for i in range(0, len(months), width) ] 276 months = [ 280 return [months[i:i+width] for i in range(0, len(months), width) ] 288 months [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | IslamicCalendar.java | 30 * lunar months does not correspond to the solar year used by most other 38 * we treat days and months as beginning at midnight, 43 * and 30-day months, with a leap day added to the last month of 11 out of 858 // Guess at the number of elapsed full months since the epoch in handleComputeFields() 859 int months = (int)Math.floor(days / CalendarAstronomer.SYNODIC_MONTH); in handleComputeFields() 861 monthStart = (long)Math.floor(months * CalendarAstronomer.SYNODIC_MONTH - 1); in handleComputeFields() 865 months++; in handleComputeFields() 870 while ((monthStart = trueMonthStart(months)) > days) { in handleComputeFields() 872 months--; in handleComputeFields() 875 year = months > in handleComputeFields() [all...] |
H A D | HebrewCalendar.java | 31 * months can vary depending on the number of days in the year. 34 * months of Shevat and Adar in leap years. Since the leap month does 44 * we treat days and months as beginning at midnight, 201 * The lengths of the Hebrew months. This is complicated, because there 613 // # of months before year in startOfYear() 614 int months = (int)floorDivide((235 * (long)year - 234), 19); in startOfYear() 616 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() 617 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 723 // Resolve out-of-range months. This is necessary in order to in handleGetMonthLength() 860 // Resolve out-of-range months in handleComputeMonthStart() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | islamcal.cpp | 56 // cache of months 392 // This does not handle months out of the range 0..11 in monthStart() 560 // This may be called by Calendar::handleComputeJulianDay with months out of the range in handleComputeMonthStart() 561 // 0..11. Need to handle that here since monthStart requires months in the range 0.11. in handleComputeMonthStart() 621 // Guess at the number of elapsed full months since the epoch in handleComputeFields() 622 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() 624 startDate = (int32_t)uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() 633 months++; in handleComputeFields() 638 while ((startDate = trueMonthStart(months)) > days) { in handleComputeFields() 640 months in handleComputeFields() [all...] |
H A D | hebrwcal.cpp | 69 * The lengths of the Hebrew months. This is complicated, because there 396 // # of months before year in startOfYear() 397 int32_t months = (int32_t)ClockMath::floorDivide((235 * (int64_t)year - 234), (int64_t)19); in startOfYear() local 399 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() 400 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 501 // Resolve out-of-range months. This is necessary in order to in handleGetMonthLength() 638 // Resolve out-of-range months. This is necessary in order to in handleComputeMonthStart()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | islamcal.cpp | 56 // cache of months 392 // This does not handle months out of the range 0..11 in monthStart() 560 // This may be called by Calendar::handleComputeJulianDay with months out of the range in handleComputeMonthStart() 561 // 0..11. Need to handle that here since monthStart requires months in the range 0.11. in handleComputeMonthStart() 621 // Guess at the number of elapsed full months since the epoch in handleComputeFields() 622 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() 624 startDate = (int32_t)uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() 633 months++; in handleComputeFields() 638 while ((startDate = trueMonthStart(months)) > days) { in handleComputeFields() 640 months in handleComputeFields() [all...] |
H A D | hebrwcal.cpp | 69 * The lengths of the Hebrew months. This is complicated, because there 396 // # of months before year in startOfYear() 397 int32_t months = (int32_t)ClockMath::floorDivide((235 * (int64_t)year - 234), (int64_t)19); in startOfYear() local 399 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() 400 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 501 // Resolve out-of-range months. This is necessary in order to in handleGetMonthLength() 638 // Resolve out-of-range months. This is necessary in order to in handleComputeMonthStart()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | IslamicCalendar.java | 31 * lunar months does not correspond to the solar year used by most other 39 * we treat days and months as beginning at midnight, 44 * and 30-day months, with a leap day added to the last month of 11 out of 830 // Guess at the number of elapsed full months since the epoch in handleComputeFields() 831 int months = (int)Math.floor(days / CalendarAstronomer.SYNODIC_MONTH); in handleComputeFields() 833 monthStart = (long)Math.floor(months * CalendarAstronomer.SYNODIC_MONTH - 1); in handleComputeFields() 837 months++; in handleComputeFields() 842 while ((monthStart = trueMonthStart(months)) > days) { in handleComputeFields() 844 months--; in handleComputeFields() 847 year = months / 1 in handleComputeFields() [all...] |
H A D | HebrewCalendar.java | 32 * months can vary depending on the number of days in the year. 35 * months of Shevat and Adar in leap years. Since the leap month does 45 * we treat days and months as beginning at midnight, 188 * The lengths of the Hebrew months. This is complicated, because there 587 int months = (235 * year - 234) / 19; // # of months before year in startOfYear() 589 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # in startOfYear() 590 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculation in startOfYear() 693 // Resolve out-of-range months. This is necessary in order to in handleGetMonthLength() 822 // Resolve out-of-range months in handleComputeMonthStart() [all...] |
/third_party/node/deps/v8/src/temporal/ |
H A D | temporal-parser.h | 91 int64_t months; // DurationMonths production member 105 months(0), in ParsedISO8601Duration()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DateFormatSymbols.java | 48 * months, the names of the days of the week, and the time zone data. 363 * of 13 strings (some calendars have 13 months), indexed by 367 String months[] = null; field in DateFormatSymbols 371 * 13 strings (some calendars have 13 months), indexed by 380 * 13 strings (some calendars have 13 months), indexed by 389 * of 13 strings (some calendars have 13 months), indexed by 397 * 13 strings (some calendars have 13 months), indexed by 406 * 13 strings (some calendars have 13 months), indexed by 795 return duplicate(months); in getMonths() 812 returnValue = months; in getMonths() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | DateFormatSymbols.java | 49 * months, the names of the days of the week, and the time zone data. 353 * of 13 strings (some calendars have 13 months), indexed by 357 String months[] = null; field in DateFormatSymbols 361 * 13 strings (some calendars have 13 months), indexed by 370 * 13 strings (some calendars have 13 months), indexed by 379 * of 13 strings (some calendars have 13 months), indexed by 387 * 13 strings (some calendars have 13 months), indexed by 396 * 13 strings (some calendars have 13 months), indexed by 764 return duplicate(months); in getMonths() 780 returnValue = months; in getMonths() [all...] |
/third_party/icu/icu4c/source/test/perf/DateFmtPerf/ |
H A D | datedata.h | 29 static int months[] = { variable
|
/third_party/node/deps/undici/src/lib/cookies/ |
H A D | util.js | 167 const months = [ 174 const month = months[date.getUTCMonth()]
|
/third_party/node/lib/ |
H A D | util.js | 197 const months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 210 return `${DatePrototypeGetDate(d)} ${months[DatePrototypeGetMonth(d)]} ${t}`;
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
H A D | ICUDurationTest.java | 81 ICUTestDuration(int sgn, int y, int months, int d, int h, int m, float s) { in ICUTestDuration() argument 85 if (months >= 0) { fields.put(DatatypeConstants.MONTHS, months); } in ICUTestDuration()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
H A D | ICUDurationTest.java | 84 ICUTestDuration(int sgn, int y, int months, int d, int h, int m, float s) { in ICUTestDuration() argument 88 if (months >= 0) { fields.put(DatatypeConstants.MONTHS, months); } in ICUTestDuration()
|