Searched refs:month (Results 1 - 25 of 151) sorted by relevance

1234567

/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/
H A Dmonth.h27 class month { class in namespace:chrono
32 month() = default;
33 _LIBCPP_HIDE_FROM_ABI explicit inline constexpr month(unsigned __val) noexcept
35 _LIBCPP_HIDE_FROM_ABI inline constexpr month& operator++() noexcept {
39 _LIBCPP_HIDE_FROM_ABI inline constexpr month operator++(int) noexcept {
40 month __tmp = *this;
44 _LIBCPP_HIDE_FROM_ABI inline constexpr month& operator--() noexcept {
48 _LIBCPP_HIDE_FROM_ABI inline constexpr month operator--(int) noexcept {
49 month __tmp = *this;
53 _LIBCPP_HIDE_FROM_ABI constexpr month
[all...]
H A Dmonthday.h15 #include <__chrono/month.h>
31 chrono::month __m_;
36 _LIBCPP_HIDE_FROM_ABI constexpr month_day(const chrono::month& __mval, const chrono::day& __dval) noexcept
38 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; }
61 return __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day();
66 if (auto __c = __lhs.month() <=> __rhs.month(); __c != 0)
71 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day operator/(const month
[all...]
H A Dmonth_weekday.h13 #include <__chrono/month.h>
29 chrono::month __m_;
33 _LIBCPP_HIDE_FROM_ABI constexpr month_weekday(const chrono::month& __mval,
36 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; }
43 return __lhs.month() == __rhs.month() && __lhs.weekday_indexed() == __rhs.weekday_indexed();
47 operator/(const month& __lhs, const weekday_indexed& __rhs) noexcept {
52 return month_weekday{month(__lhs), __rhs};
56 operator/(const weekday_indexed& __lhs, const month
[all...]
H A Dyear_month.h14 #include <__chrono/month.h>
31 chrono::month __m_;
35 _LIBCPP_HIDE_FROM_ABI constexpr year_month(const chrono::year& __yval, const chrono::month& __mval) noexcept
38 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; }
46 _LIBCPP_HIDE_FROM_ABI inline constexpr year_month operator/(const year& __y, const month& __m) noexcept {
51 return year_month{__y, month(__m)};
55 return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month();
62 return __lhs.month() <
[all...]
H A Dyear_month_weekday.h16 #include <__chrono/month.h>
38 chrono::month __m_;
44 const chrono::year& __yval, const chrono::month& __mval, const chrono::weekday_indexed& __wdival) noexcept
56 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; }
83 return year_month_weekday{__ymd.year(), __ymd.month(), __wd[(static_cast<unsigned>(__ymd.day()) - 1) / 7 + 1]};
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(), __rh
[all...]
H A Dyear_month_day.h16 #include <__chrono/month.h>
41 chrono::month __m_;
47 const chrono::year& __yval, const chrono::month& __mval, const chrono::day& __dval) noexcept
61 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; }
87 return year_month_day{chrono::year{__yr + (__mth <= 2)}, chrono::month{__mth}, chrono::day{__dy}};
108 return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day();
115 if (auto __c = __lhs.month() <=> __rhs.month(); __
[all...]
H A Dconvert_to_tm.h19 #include <__chrono/month.h>
68 __result.tm_mon = static_cast<unsigned>(__date.month()) - 1;
139 else if constexpr (same_as<_ChronoT, chrono::month>)
149 __result.tm_mon = static_cast<unsigned>(__value.month()) - 1;
151 __result.tm_mon = static_cast<unsigned>(__value.month()) - 1;
154 __result.tm_mon = static_cast<unsigned>(__value.month()) - 1;
157 __result.tm_mon = static_cast<unsigned>(__value.month()) - 1;
/freebsd-current/crypto/heimdal/doc/
H A Dmdate-sh35 # The month is at least the fourth argument
41 # Find the month. Next argument is day, followed by the year or time.
42 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
[all...]
/freebsd-current/lib/libc/stdtime/
H A Dtimelocal.h44 const char *month[12]; member in struct:lc_time_T
/freebsd-current/contrib/tzdata/
H A Dleapseconds.awk164 # ss_month - month of the year (1-January to 12-December)
165 # ss_mday - day of the month (1-31)
175 # Days in month N, where March is month 0 and January month 10.
201 quadcentury, century, quadyear, year, month, day)
210 # Compute a year-month-day date with days of the month numbered
233 for (month = 0; month < 1
[all...]
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_heath.c79 * dd/mm/yr = day, month, year
278 int month, day; local
304 &pp->minute, &pp->second, &dsec, a, &month, &day,
331 month = tm_time_p->tm_mon + 1;
358 if (month < 1 || month > 12 || day < 1) {
363 if (day > day1tab[month - 1]) {
367 for (i = 0; i < month - 1; i++)
370 if (day > day2tab[month - 1]) {
374 for (i = 0; i < month
[all...]
H A Drefclock_hpgps.c262 int month, day, lastday; local
416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second,
463 if (month < 1 || month > 12 || day < 1) {
470 if (day > day1tab[month - 1]) {
474 for (i = 0; i < month - 1; i++) day += day1tab[i];
478 if (day > day2tab[month - 1]) {
482 for (i = 0; i < month - 1; i++) day += day2tab[i];
543 * Better would be to use :GPSTime? to find the month,
547 if ((month
[all...]
/freebsd-current/usr.bin/chpass/
H A Dutil.c83 int day, month, year; local
97 month = atoi(t);
103 month = mp - months + 1;
114 if (day < 1 || day > 31 || month < 1 || month > 12)
124 lt->tm_mon = month - 1;
/freebsd-current/sys/dev/rtwn/
H A Dif_rtwn_fw.h41 uint8_t month; member in struct:r92c_fw_hdr
/freebsd-current/stand/efi/libefi/
H A Dtime.c61 * month number used as the index (1 -> 12) for regular and leap years.
107 int lyear, month; local
113 month = 13;
114 seconds = CumulativeDays[lyear][month] * SECSPERDAY;
119 seconds = CumulativeDays[lyear][month] * SECSPERDAY;
124 CumulativeDays[lyear][month] * SECSPERDAY) {
128 month = efi_time->Month - 1;
129 time -= CumulativeDays[lyear][month] * SECSPERDAY;
185 * month and year.
/freebsd-current/contrib/dialog/
H A Dcalendar.c37 #define MON_WIDE 4 /* width of a month-name */
40 #define HDR_HIGH 1 /* height of cells with month/year */
43 /* two more lines: titles for day-of-week and month/year boxes */
182 adjust_year_month(int *year, int *month) argument
184 while (*month < 0) {
185 *month += MAX_MONTHS;
188 while (*month >= MAX_MONTHS) {
189 *month -= MAX_MONTHS;
195 days_per_month(int year, int month) argument
204 adjust_year_month(&year, &month);
215 int month = current->tm_mon + offset; local
254 day_in_year(int year, int month, int day) argument
263 iso_week(int year, int month, int day) argument
310 getisoweeks(int year, int month) argument
458 int month; local
672 dialog_calendar(const char *title, const char *subtitle, int height, int width, int day, int month, int year) argument
[all...]
/freebsd-current/contrib/ntp/scripts/monitoring/
H A Dtimelocal.pl9 ;# of any months we've seen before. If we know the start time of the month,
10 ;# we can always calculate any time within the month. The start times
16 ;# the month cache, of course, it doesn't call it at all.
62 $month = $_[4];
70 while ($diff = $month - $g[4]) {
/freebsd-current/usr.bin/calendar/
H A Devents.c151 event_add(int year, int month, int day, int var, char *txt, char *extra) argument
158 * - Copy the machine readable day and month
165 e->month = month;
210 fprintf(stderr, "event_print_all month: %d, day: %d\n",
211 e->month, e->day);
215 tm.tm_mon = e->month - 1;
H A Dparsedata.c45 static int checkmonth(char *s, size_t *len, size_t *offset, const char **month);
52 static int wdayom (int day, int offset, int month, int year);
91 char *month, int *imonth, char *dayofmonth, int *idayofmonth,
101 *month = '\0';
179 /* Assume month number only */
182 strlcpy(month, getmonthname(*imonth), SLEN);
209 /* Check if there is a month-string in the date */
212 /* p2 is the non-month part */
216 strlcpy(month, getmonthname(offset), SLEN);
242 /* Check if there is an every-day or every-month i
90 determinestyle(char *date, int *flags, char *month, int *imonth, char *dayofmonth, int *idayofmonth, char *dayofweek, int *idayofweek, char *modifieroffset, char *modifierindex, char *specialday, char *year, int *iyear) argument
338 debug_determinestyle(int dateonly, char *date, int flags, char *month, int imonth, char *dayofmonth, int idayofmonth, char *dayofweek, int idayofweek, char *modifieroffset, char *modifierindex, char *specialday, char *year, int iyear) argument
383 wdayom(int day, int offset, int month, int year) argument
434 char month[SLEN], dayofmonth[SLEN], dayofweek[SLEN], modifieroffset[SLEN]; local
880 checkmonth(char *s, size_t *len, size_t *offset, const char **month) argument
[all...]
H A Ddates.c49 int month; /* 01 .. 12 */ member in struct:cal_month
62 struct cal_month *month; /* points back */ member in struct:cal_day
71 /* 1-based month, 0-based days, cumulative */
76 /* 1-based month, individual */
128 if (pm->month == m)
137 pm->month = m;
157 pd->month = pm;
185 /* Same year, same month. Easy! */
191 * Same year, different month.
207 * Different year, different month
[all...]
/freebsd-current/usr.bin/localedef/
H A Dtime.c126 add_list(tm.month, str, 12);
164 if (tm.month[11] != NULL)
203 free((char *)tm.month[i]);
204 tm.month[i] = NULL;
244 if (putl_category(tm.month[i], f) == EOF) {
/freebsd-current/contrib/ntp/util/
H A Dlsf-times.c65 , MONTHS[cal.month - 1]
93 // printf("2 args: month %u\n", mon);
117 // printf("3 args: month %u\n", mon);
154 cal.month = mon;
164 , MONTHS[cal.month - 1]
/freebsd-current/contrib/ntp/libntp/
H A Dcaltontp.c16 * (that is, not zero) it will be used instead of month and day-of-month;
48 if ( (jt->month > 13) /* permit month 0..13! */
59 * useable value and avoid all calculations involving month
60 * and day-of-month. Do a full evaluation otherwise.
/freebsd-current/usr.sbin/cron/cron/
H A Dstructs.h37 bitstr_t bit_decl(month, MONTH_COUNT);
/freebsd-current/tools/tools/git/
H A Dmfc-candidates.sh40 month=$(date '+%m')
41 qtr=$(((month-1) / 3 + 1))

Completed in 200 milliseconds

1234567