/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | month.h | 27 class month { 32 month() = default; 33 _LIBCPP_HIDE_FROM_ABI explicit inline constexpr month(unsigned __val) noexcept in month() function 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 D | monthday.h | 15 #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 in month_day() 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) 71 _LIBCPP_HIDE_FROM_ABI inline constexpr month_day operator/(const month 94 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } month() function [all...] |
H A D | month_weekday.h | 13 #include <__chrono/month.h> 29 chrono::month __m_; 33 _LIBCPP_HIDE_FROM_ABI constexpr month_weekday(const chrono::month& __mval, in month_weekday() 36 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in weekday_indexed() 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 35 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } month() function 67 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } month() function [all...] |
H A D | year_month.h | 14 #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 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) 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 D | year_month_day.h | 41 chrono::month __m_; 47 const chrono::year& __yval, const chrono::month& __mval, const chrono::day& __dval) noexcept in year_month_day() 61 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function 87 return year_month_day{chrono::year{__yr + (__mth <= 2)}, chrono::month{__mth}, chrono::day{__dy}}; in __from_days() 108 …return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day(… 115 if (auto __c = __lhs.month() <=> __rhs.month(); __c != 0) 121 return year_month_day{__lhs.year(), __lhs.month(), __rhs}; 129 return __lhs / __rhs.month() / __rhs.day(); 146 return (__lhs.year() / __lhs.month() + __rhs) / __lhs.day(); 161 return (__lhs.year() + __rhs) / __lhs.month() / __lhs.day(); [all …]
|
H A D | year_month_weekday.h | 16 #include <__chrono/month.h> 38 chrono::month __m_; 44 const chrono::year& __yval, const chrono::month& __mval, const chrono::weekday_indexed& __wdival) noexcept in year_month_weekday() 56 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } in month() function 83 return year_month_weekday{__ymd.year(), __ymd.month(), __wd[(static_cast<unsigned>(__ymd.day()) - 1) / 7 + 1]}; in __from_days() 93 return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() && in __to_days() 99 return year_month_weekday{__lhs.year(), __lhs.month(), __rhs}; 104 return year_month_weekday{__lhs, __rhs.month(), __rh 167 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::month month() const noexcept { return __m_; } month() function [all...] |
/freebsd/crypto/heimdal/doc/ |
H A D | mdate-sh | 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=June; nummonth=6;; 53 Jul) month=July; nummonth=7;; 54 Aug) month=August; nummonth=8;; [all …]
|
/freebsd/contrib/tzdata/ |
H A D | leapseconds.awk | 201 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 D | calendar.c | 182 adjust_year_month(int *year, int *month) in adjust_year_month() argument 184 while (*month < 0) { in adjust_year_month() 185 *month += MAX_MONTHS; in adjust_year_month() 188 while (*month >= MAX_MONTHS) { in adjust_year_month() 189 *month -= MAX_MONTHS; in adjust_year_month() 195 days_per_month(int year, int month) in days_per_month() argument 204 adjust_year_month(&year, &month); in days_per_month() 205 result = nominal[month]; in days_per_month() 206 if (month == 1) in days_per_month() 215 int month = current->tm_mon + offset; in days_in_month() local [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_heath.c | 79 * dd/mm/yr = day, month, year 278 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 in heath_receive() [all...] |
H A D | refclock_hpgps.c | 262 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() 543 * Better would be to use :GPSTime? to find the month, in hpgps_receive() 547 if ((month in hpgps_receive() [all...] |
H A D | check_y2k.c | 413 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 D | refclock_hopfser.c | 214 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()
|
H A D | refclock_arc.c | 315 /* 8. day of month tens */ 316 /* 9. day of month units */ 317 /* 10. month tens */ 318 /* 11. month units */ 880 int i, wday, month, flags, status; in arc_receive() 1174 || !get2(pp->a_lastcode + 10, &month) in arc_receive() 1200 (month < 1) || (month > 12) || in arc_receive() 1239 pp->day, month, pp->year, flags, status); in arc_receive() 1269 pp->day += moff[month in arc_receive() 877 int i, n, wday, month, flags, status; arc_receive() local [all...] |
/freebsd/usr.bin/chpass/ |
H A D | util.c | 83 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 D | time.c | 107 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 D | parsedata.c | 45 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, in determinestyle() argument 101 *month = '\0'; in determinestyle() 182 strlcpy(month, getmonthname(*imonth), SLEN); 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() 338 debug_determinestyle(int dateonly, char *date, int flags, char *month, in debug_determinestyle() argument [all …]
|
H A D | dates.c | 49 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 D | events.c | 151 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 D | fa_IR.UTF-8.src | 2 # Short month names 16 # Long month names (as in a date) 64 # Long month names (without case ending)
|
H A D | fa_AF.UTF-8.src | 2 # Short month names 16 # Long month names (as in a date) 64 # Long month names (without case ending)
|
H A D | ko_KR.eucKR.src | 6 # Short month names 20 # Long month names (as in a date) 68 # Long month names (without case ending)
|
/freebsd/usr.bin/localedef/ |
H A D | time.c | 126 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/ntp/parseutil/ |
H A D | testdcf.c | 58 long month; member 249 clock_time->month = ext_bf(buffer, DCF_MO0); in convert_rawdcf() 250 clock_time->month = TIMES10(clock_time->month) + ext_bf(buffer, DCF_MO); in convert_rawdcf() 421 clock_time.month = 0; in main() 462 clock_time.month = 0; in main() 492 … (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month, in main()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | chrono | 369 // 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; 380 operator<<(basic_ostream<charT, traits>& os, const month& m); 569 operator/(const year& y, const month& m) noexcept; [all …]
|