/third_party/boost/libs/date_time/test/gregorian/ |
D | testgreg_durations.cpp | 25 months m1(5), m2(3), m3(1); in main() 26 check("months & months addable", months(8) == m1 + m2); in main() 28 check("months & months addable", months(8) == m1); in main() 29 check("months & months subtractable", months(-5) == m2 - m1); in main() 31 check("months & months subtractable", months(-5) == m2); in main() 37 d1 + months(-1) == date(2004,Dec,1)); in main() 39 d2 + months(-1) == date(2005,Jan,1)); in main() 41 d2 + months(-2) == date(2004,Dec,1)); in main() 43 d2 + months(-12) == date(2004,Feb,1)); in main() 45 d2 + months(-13) == date(2004,Jan,1)); in main() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/ |
D | testdata_en.txt | 35 3 months ago 36 2 months ago 38 0 months 40 2 months from now 41 3 months from now 42 5 months from now 43 10 months from now 44 11 months from now 45 12 months from now 46 20 months from now [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/test/duration/testdata/ |
D | testdata_en.txt | 35 3 months ago 36 2 months ago 38 0 months 40 2 months from now 41 3 months from now 42 5 months from now 43 10 months from now 44 11 months from now 45 12 months from now 46 20 months from now [all …]
|
/third_party/musl/porting/uniproton/kernel/src/time/ |
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/ |
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/ |
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_a/kernel/src/time/ |
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/boost/libs/date_time/example/gregorian/ |
D | month_add.cpp | 17 date d2 = d + months(1); in main() 18 date d3 = d - months(1); in main() 29 date d5 = d4 + months(1); in main() 43 date d7 = d6 + months(1) + months(1); in main() 44 date d8 = d6 + months(2); in main()
|
/third_party/node/deps/npm/node_modules/tiny-relative-date/translations/ |
D | en-short.js | 13 monthsAgo: (months) => `${Math.round(months / 12 * 52)}w`, 27 monthsFromNow: (months) => `+${Math.round(months / 12 * 52)}w`,
|
/third_party/icu/icu4c/source/samples/cal/ |
D | cal.c | 68 UChar *months [], UBool useLongNames, 71 static void free_months(UChar *months[]); 83 UChar *days [], UChar *months [], 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_COUNT - 1, 0, 0, status); /* some locales have 13 months… in get_months() 375 static void free_months(UChar *months[]) in free_months() argument 377 free_symbols(months, MONTH_COUNT - 1); in free_months() 541 UChar *months [], in print_year() [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/cal/ |
D | cal.c | 68 UChar *months [], UBool useLongNames, 71 static void free_months(UChar *months[]); 83 UChar *days [], UChar *months [], 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_COUNT - 1, 0, 0, status); /* some locales have 13 months… in get_months() 375 static void free_months(UChar *months[]) in free_months() argument 377 free_symbols(months, MONTH_COUNT - 1); in free_months() 541 UChar *months [], in print_year() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/cal/ |
D | cal.c | 68 UChar *months [], UBool useLongNames, 71 static void free_months(UChar *months[]); 83 UChar *days [], UChar *months [], 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_COUNT - 1, 0, 0, status); /* some locales have 13 months… in get_months() 375 static void free_months(UChar *months[]) in free_months() argument 377 free_symbols(months, MONTH_COUNT - 1); in free_months() 541 UChar *months [], in print_year() [all …]
|
/third_party/boost/boost/date_time/local_time/ |
D | date_duration_operators.hpp | 31 operator+(const local_date_time& t, const boost::gregorian::months& m) in operator +() 41 operator+=(local_date_time& t, const boost::gregorian::months& m) in operator +=() 51 operator-(const local_date_time& t, const boost::gregorian::months& m) in operator -() 62 operator-=(local_date_time& t, const boost::gregorian::months& m) in operator -=()
|
/third_party/boost/boost/date_time/posix_time/ |
D | date_duration_operators.hpp | 31 operator+(const ptime& t, const boost::gregorian::months& m) in operator +() 41 operator+=(ptime& t, const boost::gregorian::months& m) in operator +=() 52 operator-(const ptime& t, const boost::gregorian::months& m) in operator -() 63 operator-=(ptime& t, const boost::gregorian::months& m) in operator -=()
|
/third_party/boost/libs/date_time/test/posix_time/ |
D | testgreg_duration_operators.cpp | 29 ptime(date(2002, Feb, 28), hours(5)) == p + months(4)); in main() 30 p += months(4); in main() 37 ptime(date(2001, Apr, 30), hours(5)) == p - months(6)); in main() 38 p -= months(6); in main()
|
/third_party/python/Lib/ |
D | calendar.py | 261 months = [ 265 return [months[i:i+width] for i in range(0, len(months), width) ] 274 months = [ 278 return [months[i:i+width] for i in range(0, len(months), width) ] 286 months = [ 290 return [months[i:i+width] for i in range(0, len(months), width) ] 383 months = range(m*i+1, min(m*(i+1)+1, 13)) 386 for k in months) 389 headers = (header for k in months) 512 months = range(i, min(i+width, 13)) [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | IslamicCalendar.java | 859 int months = (int)Math.floor(days / CalendarAstronomer.SYNODIC_MONTH); in handleComputeFields() local 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 >= 0 ? ((months / 12) + 1) : ((months + 1 ) / 12); in handleComputeFields() 876 month = ((months % 12) + 12 ) % 12; in handleComputeFields()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | islamcal.cpp | 622 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() local 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() 643 year = months >= 0 ? ((months / 12) + 1) : ((months + 1 ) / 12); in handleComputeFields() 644 month = ((months % 12) + 12 ) % 12; in handleComputeFields()
|
/third_party/icu/icu4c/source/i18n/ |
D | islamcal.cpp | 622 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() local 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() 643 year = months >= 0 ? ((months / 12) + 1) : ((months + 1 ) / 12); in handleComputeFields() 644 month = ((months % 12) + 12 ) % 12; in handleComputeFields()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | islamcal.cpp | 622 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() local 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() 643 year = months >= 0 ? ((months / 12) + 1) : ((months + 1 ) / 12); in handleComputeFields() 644 month = ((months % 12) + 12 ) % 12; in handleComputeFields()
|
/third_party/boost/libs/icl/example/month_and_week_grid_/ |
D | month_and_week_grid.cpp | 50 date frame_months_1st = first(scope).end_of_month() + days(1) - months(1); in month_grid() 54 month_grid += discrete_interval<date>::right_open(*month_iter, *month_iter + months(1)); in month_grid() 85 date thenday = someday + months(2); in month_and_time_grid()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | islamcal.cpp | 623 int32_t months = (int32_t)uprv_floor((double)days / CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() local 625 startDate = (int32_t)uprv_floor(months * CalendarAstronomer::SYNODIC_MONTH); in handleComputeFields() 634 months++; in handleComputeFields() 639 while ((startDate = trueMonthStart(months)) > days) { in handleComputeFields() 641 months--; in handleComputeFields() 644 year = months / 12 + 1; in handleComputeFields() 645 month = months % 12; in handleComputeFields()
|
/third_party/boost/boost/date_time/ |
D | strings_from_facet.hpp | 45 collection_type months; in gather_month_strings() local 64 months.push_back(ss.str()); in gather_month_strings() 67 return months; in gather_month_strings()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | IslamicCalendar.java | 831 int months = (int)Math.floor(days / CalendarAstronomer.SYNODIC_MONTH); in handleComputeFields() local 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 / 12 + 1; in handleComputeFields() 848 month = months % 12; in handleComputeFields()
|
/third_party/gstreamer/gstplugins_bad/ext/dash/ |
D | gstxmlhelper.c | 85 gint years = -1, months = -1, days = -1, hours = -1, minutes = -1, seconds = in _mpd_helper_parse_duration() local 128 if (years != -1 || months != -1 || days != -1) { in _mpd_helper_parse_duration() 135 if (months != -1 || days != -1) { in _mpd_helper_parse_duration() 139 months = read; in _mpd_helper_parse_duration() 140 if (months >= 12) { in _mpd_helper_parse_duration() 169 if (months == -1) in _mpd_helper_parse_duration() 170 months = 0; in _mpd_helper_parse_duration() 174 GST_TRACE ("Y:M:D=%d:%d:%d", years, months, days); in _mpd_helper_parse_duration() 263 || !_mpd_helper_accumulate (&tmp_value, 365, months * 30) in _mpd_helper_parse_duration() 1182 gint years, months, days, hours, minutes, seconds, milliseconds; in gst_xml_helper_set_prop_duration() local [all …]
|