Home
last modified time | relevance | path

Searched refs:month (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dmonth.h27 class month {
32 month() = default;
40 month __tmp = *this;
49 month __tmp = *this;
86 _LIBCPP_HIDE_FROM_ABI inline constexpr month& month::operator+=(const months& __dm) noexcept {
91 _LIBCPP_HIDE_FROM_ABI inline constexpr month& month::operator-=(const months& __dm) noexcept {
98 inline constexpr month March{3};
99 inline constexpr month April{4};
100 inline constexpr month May{5};
101 inline constexpr month June{6};
[all …]
H A Dmonthday.h31 chrono::month __m_;
38 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function
61 return __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day();
66 if (auto __c = __lhs.month() <=> __rhs.month(); __c != 0)
84 return month(__lhs) / __rhs;
88 return month(__rhs) / __lhs;
93 chrono::month __m_;
97 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function
103 return __lhs.month() == __rhs.month();
108 return __lhs.month() <=> __rhs.month();
[all …]
H A Dmonth_weekday.h29 chrono::month __m_;
36 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function
43 return __lhs.month() == __rhs.month() && __lhs.weekday_indexed() == __rhs.weekday_indexed();
52 return month_weekday{month(__lhs), __rhs};
61 return month_weekday{month(__rhs), __lhs};
65 chrono::month __m_;
72 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function
79 return __lhs.month() == __rhs.month() && __lhs.weekday_last() == __rhs.weekday_last();
83 operator/(const month& __lhs, const weekday_last& __rhs) noexcept {
88 return month_weekday_last{month(__lhs), __rhs};
[all …]
H A Dyear_month.h31 chrono::month __m_;
35 …_LIBCPP_HIDE_FROM_ABI constexpr year_month(const chrono::year& __yval, const chrono::month& __mval… in year_month()
38 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function
46 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month operator/(const year& __y, const month& __m) noex…
51 return year_month{__y, month(__m)};
55 return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month();
62 return __lhs.month() <=> __rhs.month();
66 int __dmi = static_cast<int>(static_cast<unsigned>(__lhs.month())) - 1 + __rhs.count();
69 return (__lhs.year() + years(__dy)) / month(static_cast<unsigned>(__dmi));
77 return (__lhs.year() + __rhs) / __lhs.month();
[all …]
H A Dyear_month_weekday.h38 chrono::month __m_;
56 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function
93 return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() &&
99 return year_month_weekday{__lhs.year(), __lhs.month(), __rhs};
104 return year_month_weekday{__lhs, __rhs.month(), __rhs.weekday_indexed()};
122 return (__lhs.year() / __lhs.month() + __rhs) / __lhs.weekday_indexed();
170 chrono::month __m_;
183 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function
202 …return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() && __lhs.weekday_last() == _…
207 return year_month_weekday_last{__lhs.year(), __lhs.month(), __rhs};
[all …]
H A Dyear_month_day.h41 chrono::month __m_;
61 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function
108 …return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day(…
115 if (auto __c = __lhs.month() <=> __rhs.month(); __c != 0)
129 return __lhs / __rhs.month() / __rhs.day();
206 …_LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __mdl_.month(… in month() function
210 return sys_days{year() / month() / day()}; in sys_days()
213 return local_days{year() / month() / day()}; in local_days()
232 return (month() != February || !__y_.is_leap()) && month().ok() in day()
233 ? __d[static_cast<unsigned>(month()) - 1] in day()
[all …]
/freebsd/crypto/heimdal/doc/
H A Dmdate-sh42 month=
43 until test $month
47 Jan) month=January; nummonth=1;;
48 Feb) month=February; nummonth=2;;
49 Mar) month=March; nummonth=3;;
50 Apr) month=April; nummonth=4;;
51 May) month=May; nummonth=5;;
52 Jun) month=June; nummonth=6;;
53 Jul) month=July; nummonth=7;;
54 Aug) month=August; nummonth=8;;
[all …]
/freebsd/contrib/tzdata/
H A Dleapseconds.awk201 quadcentury, century, quadyear, year, month, day)
233 for (month = 0; month < 11; month++) {
234 if (day < ss_mon_days[month])
236 day -= ss_mon_days[month]
242 if (month <= 9) {
243 ss_month = month + 3
245 ss_month = month - 9
/freebsd/contrib/dialog/
H A Dcalendar.c184 while (*month < 0) { in adjust_year_month()
185 *month += MAX_MONTHS; in adjust_year_month()
189 *month -= MAX_MONTHS; in adjust_year_month()
205 result = nominal[month]; in days_per_month()
206 if (month == 1) in days_per_month()
257 while (--month >= 1) in day_in_year()
458 int month; in draw_month() local
677 int month, in dialog_calendar() argument
756 if (month >= 1) { in dialog_calendar()
757 current.tm_mon = month - 1; in dialog_calendar()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_heath.c278 int month, day; in heath_receive() local
304 &pp->minute, &pp->second, &dsec, a, &month, &day, in heath_receive()
331 month = tm_time_p->tm_mon + 1; in heath_receive()
358 if (month < 1 || month > 12 || day < 1) { in heath_receive()
363 if (day > day1tab[month - 1]) { in heath_receive()
367 for (i = 0; i < month - 1; i++) in heath_receive()
370 if (day > day2tab[month - 1]) { in heath_receive()
374 for (i = 0; i < month - 1; i++) in heath_receive()
H A Drefclock_hpgps.c262 int month, day, lastday; in hpgps_receive() local
416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second, in hpgps_receive()
463 if (month < 1 || month > 12 || day < 1) { in hpgps_receive()
470 if (day > day1tab[month - 1]) { in hpgps_receive()
474 for (i = 0; i < month - 1; i++) day += day1tab[i]; in hpgps_receive()
478 if (day > day2tab[month - 1]) { in hpgps_receive()
482 for (i = 0; i < month - 1; i++) day += day2tab[i]; in hpgps_receive()
547 if ((month==6) || (month==12)) in hpgps_receive()
552 if ((month==6) || (month==12)) in hpgps_receive()
H A Dcheck_y2k.c413 ct.month = 1; in main()
520 || ot.month != 1 in main()
527 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main()
534 || ot.month != 2 in main()
541 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main()
555 || ot.month != m in main()
562 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main()
586 ot.month = ot.monthday = 1; /* unused, but set anyway JIC */ in main()
607 || ot.month != 1 in main()
614 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main()
H A Drefclock_hopfser.c214 int day, month; /* ddd conversion */ in hopfserial_receive() local
247 &month, in hopfserial_receive()
259 (month < 1) || (month > 12) || in hopfserial_receive()
268 pp->day = ymd2yd(pp->year,month,day); in hopfserial_receive()
285 month, in hopfserial_receive()
/freebsd/usr.bin/chpass/
H A Dutil.c83 int day, month, year; in atot() local
97 month = atoi(t); in atot()
103 month = mp - months + 1; in atot()
114 if (day < 1 || day > 31 || month < 1 || month > 12) in atot()
124 lt->tm_mon = month - 1; in atot()
/freebsd/stand/efi/libefi/
H A Dtime.c107 int lyear, month; in to_efi_time() local
113 month = 13; in to_efi_time()
114 seconds = CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
119 seconds = CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
124 CumulativeDays[lyear][month] * SECSPERDAY) { in to_efi_time()
128 month = efi_time->Month - 1; in to_efi_time()
129 time -= CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
/freebsd/usr.bin/calendar/
H A Ddates.c49 int month; /* 01 .. 12 */ member
62 struct cal_month *month; /* points back */ member
128 if (pm->month == m) in createdate()
137 pm->month = m; in createdate()
157 pd->month = pm; in createdate()
246 printf("-- %-5d (julian:%d, dow:%d)\n", m->month, in dumpdates()
278 if (m->month != mm) { in remember_ymd()
317 *rm = m->month; in remember_yd()
360 if (m->month == mm) in first_dayofweek_of_month()
426 if (m->month != mm) { in find_day()
[all …]
H A Dparsedata.c101 *month = '\0'; in determinestyle()
216 strlcpy(month, getmonthname(offset), SLEN); in determinestyle()
267 strlcpy(month, getmonthname(d), SLEN); in determinestyle()
294 strlcpy(month, getmonthname(d), SLEN); in determinestyle()
299 strlcpy(month, getmonthname(m), SLEN); in determinestyle()
356 if (month[0] != '\0') in debug_determinestyle()
407 while (wdayn <= yearinfo->monthdays[month]) in wdayom()
889 *month = n->name; in checkmonth()
898 *month = n->name; in checkmonth()
906 *month = fmonths[i]; in checkmonth()
[all …]
H A Devents.c151 event_add(int year, int month, int day, int var, char *txt, char *extra) in event_add() argument
165 e->month = month; in event_add()
211 e->month, e->day); in event_print_all()
215 tm.tm_mon = e->month - 1; in event_print_all()
/freebsd/share/timedef/
H A Dfa_AF.UTF-8.src2 # Short month names
16 # Long month names (as in a date)
64 # Long month names (without case ending)
H A Dfa_IR.UTF-8.src2 # Short month names
16 # Long month names (as in a date)
64 # Long month names (without case ending)
H A Dko_KR.UTF-8.src6 # Short month names
20 # Long month names (as in a date)
68 # Long month names (without case ending)
H A Dko_KR.eucKR.src6 # Short month names
20 # Long month names (as in a date)
68 # Long month names (without case ending)
H A Dru_RU.CP1251.src6 # Short month names
20 # Long month names (as in a date)
68 # Long month names (without case ending)
/freebsd/usr.bin/localedef/
H A Dtime.c126 add_list(tm.month, str, 12); in add_time_list()
164 if (tm.month[11] != NULL) in check_time_list()
203 free((char *)tm.month[i]); in reset_time_list()
204 tm.month[i] = NULL; in reset_time_list()
244 if (putl_category(tm.month[i], f) == EOF) { in dump_time()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dchrono369 // 25.8.4, class month // C++20
370 class month;
371 constexpr bool operator==(const month& x, const month& y) noexcept;
372 constexpr strong_ordering operator<=>(const month& x, const month& y) noexcept;
374 constexpr month operator+(const month& x, const months& y) noexcept;
375 constexpr month operator+(const months& x, const month& y) noexcept;
376 constexpr month operator-(const month& x, const months& y) noexcept;
377 constexpr months operator-(const month& x, const month& y) noexcept;
575 operator/(const month& m, int d) noexcept;
583 operator/(const month& m, last_spec) noexcept;
[all …]

12345678910>>...14