/openbsd/usr.bin/calendar/calendars/ |
H A D | calendar.discord | 10 01/01 Sweetmorn, day 1 in the season of Chaos, 3172. 11 01/02 Boomtime, day 2 in the season of Chaos, 3172. 12 01/03 Pungenday, day 3 in the season of Chaos, 3172. 16 01/06 Sweetmorn, day 6 in the season of Chaos, 3172. 17 01/07 Boomtime, day 7 in the season of Chaos, 3172. 18 01/08 Pungenday, day 8 in the season of Chaos, 3172. 21 01/11 Sweetmorn, day 11 in the season of Chaos, 3172. 22 01/12 Boomtime, day 12 in the season of Chaos, 3172. 23 01/13 Pungenday, day 13 in the season of Chaos, 3172. 27 01/17 Boomtime, day 17 in the season of Chaos, 3172. [all …]
|
H A D | calendar.judaic | 13 Pesach+166 Fast of Gedalya (Murder of Gedalya and subsequent Exile; fast day) 14 Pesach+172 Yom Kippur (Day of Atonement; sabbatical, fast day) 17 Pesach+184 Hoshanah Rabba (7th day of Succos) 21 12/18* Fast of Asara B'Tevet (Babylonians put siege on Jerusalem; fast day) 23 Pesach-31 Fast of Esther (Battle of Purim; fast day) 29 Pesach+7 Pesach (Last Day of Passover; 8th day of Pesach; sabbatical) 34 07/21* Fast of Shiv'a Asar B'Tammuz (Romans breach Wall of Jerusalem; fast day) 35 Pesach+81 Fast of Tish'a B'Av (Babylon destroys Holy Temple; fast day)
|
H A D | calendar.pagan | 11 01/06 Celtic day of the Three-Fold Goddess 25 03/17 Celebration of Trefuilnid Treochar (St.Patrick's day) 39 06/21 Litha (Norse/Anglo-Saxon for "longest day") 68 12/21 Yule (Norse for "wheel") - Germanic 12-day feast
|
H A D | calendar.christian | 11 Easter-47 Shrove Tuesday / Mardi Gras (day before Ash Wednesday) 12 Easter-46 Ash Wednesday (First day of Lent)
|
/openbsd/gnu/llvm/libcxx/include/__chrono/ |
H A D | day.h | 28 class day { 32 _LIBCPP_HIDE_FROM_ABI day() = default; 35 …_LIBCPP_HIDE_FROM_ABI inline constexpr day operator++(int) noexcept { day __tmp = *this; ++(*this… 46 bool operator==(const day& __lhs, const day& __rhs) noexcept 49 _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const day& __lhs, const day& __rhs) noe… 54 day operator+ (const day& __lhs, const days& __rhs) noexcept 58 day operator+ (const days& __lhs, const day& __rhs) noexcept 62 day operator- (const day& __lhs, const days& __rhs) noexcept 66 days operator-(const day& __lhs, const day& __rhs) noexcept 71 day& day::operator+=(const days& __dd) noexcept [all …]
|
H A D | year_month_day.h | 43 chrono::day __d_; 62 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::day day() const noexcept { return __d_; } in day() function 119 return __lhs.day() <=> __rhs.day(); 128 { return __lhs / day(__rhs); } 199 chrono::day year_month_day_last::day() const noexcept in day() function 201 constexpr chrono::day __d[] = in day() 203 chrono::day(31), chrono::day(28), chrono::day(31), in day() 204 chrono::day(30), chrono::day(31), chrono::day(30), in day() 205 chrono::day(31), chrono::day(31), chrono::day(30), in day() 206 chrono::day(31), chrono::day(30), chrono::day(31) in day() [all …]
|
H A D | monthday.h | 33 chrono::day __d_; 36 …_LIBCPP_HIDE_FROM_ABI constexpr month_day(const chrono::month& __mval, const chrono::day& __dval) … in month_day() 39 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::day day() const noexcept { return __d_; } in day() function 60 { return __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day(); } 65 return __lhs.day() <=> __rhs.day(); 69 month_day operator/(const month& __lhs, const day& __rhs) noexcept 73 month_day operator/(const day& __lhs, const month& __rhs) noexcept 78 { return __lhs / day(__rhs); } 81 month_day operator/(int __lhs, const day& __rhs) noexcept 85 month_day operator/(const day& __lhs, int __rhs) noexcept
|
H A D | convert_to_tm.h | 60 __result.tm_mday = static_cast<unsigned>(__date.day()); in __convert_to_tm() 64 …tic_cast<chrono::sys_days>(chrono::year_month_day{__date.year(), chrono::January, chrono::day{1}})) in __convert_to_tm() 90 } else if constexpr (same_as<_ChronoT, chrono::day>) in __convert_to_tm() 101 __result.tm_mday = static_cast<unsigned>(__value.day()); in __convert_to_tm()
|
H A D | literals.h | 29 _LIBCPP_HIDE_FROM_ABI constexpr chrono::day operator ""d(unsigned long long __d) noexcept 31 return chrono::day(static_cast<unsigned>(__d));
|
/openbsd/usr.bin/calendar/ |
H A D | day.c | 306 day = v1; in isnow() 316 if ((day <= 7) && (day >= 1)) in isnow() 320 } else if ((day <= 7) && (day >= 1)) in isnow() 344 day = 1; in isnow() 348 if ((day >= 1) && (day <=7)) in isnow() 381 if ((day >= 1) && (day <= 7)) in isnow() 399 if (day < 0 || day >= 10) in isnow() 417 day = cumdays[month] + day; in isnow() 685 *day = 10 + (*day % 10); /* day 1 ... 7 */ in variable_weekday() 701 *day = *day % 10; in variable_weekday() [all …]
|
/openbsd/share/zoneinfo/ |
H A D | leapseconds.awk | 223 day -= quadcentury * ss_quadcentury_days 224 ss_wday = (day + 3) % 7 225 century = int(day / ss_century_days) 227 day -= century * ss_century_days 228 quadyear = int(day / ss_quadyear_days) 229 day -= quadyear * ss_quadyear_days 230 year = int(day / ss_year_days) 232 day -= year * ss_year_days 234 if (day < ss_mon_days[month]) 236 day -= ss_mon_days[month] [all …]
|
/openbsd/usr.bin/cal/ |
H A D | cal.c | 426 int day, dw, dm; in day_array() local 437 days[dw++] = day++; in day_array() 452 return (day); in day_in_year() 477 ascii_day(char *p, int day) in ascii_day() argument 489 if (day == SPACE) { in ascii_day() 494 val = day / 100; in ascii_day() 496 day %= 100; in ascii_day() 503 val = day / 10; in ascii_day() 508 *p++ = day % 10 + '0'; in ascii_day() 510 *p++ = aday[day][0]; in ascii_day() [all …]
|
H A D | README | 2 principles. The algorithm for calculating the day of week from any 10 the day of week for any date. The algorithm for a zero based day of week: 15 add the day number within the year 18 if the day in question occurs before the gregorian reformation 21 if the day in question occurs during the reformation (3 sep 1752 24 this program never tries to find day of week for any day 41 Once we have the day in year for the first of the month in question, the
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 950628-1.c | 3 char hours, day, month; member 12 now.day = 2; in g() 28 if (f ().hours != 1 || f ().day != 2 || f ().month != 3 || f ().year != 4) in main()
|
/openbsd/sys/arch/landisk/stand/boot/ |
H A D | getsecs.c | 165 uint32_t sec, min, hour, day; in getsecs() local 177 day = rtc_read(RS5C313_DAY1); in getsecs() 178 day += rtc_read(RS5C313_DAY10) * 10; in getsecs() 189 secs += day * 60 * 60 * 24; in getsecs()
|
/openbsd/lib/libcrypto/asn1/ |
H A D | a_time_tm.c | 162 is_valid_day(int year, int month, int day) in is_valid_day() argument 164 if (day < 1) in is_valid_day() 174 return day <= 31; in is_valid_day() 179 return day <= 30; in is_valid_day() 182 return day <= 29; in is_valid_day() 184 return day <= 28; in is_valid_day() 201 int year, month, day, hour, min, sec, val; in asn1_time_parse_cbs() local 230 if (!cbs_get_two_digit_value(©, &day)) in asn1_time_parse_cbs() 232 if (!is_valid_day(year, month, day)) in asn1_time_parse_cbs() 263 out_tm->tm_mday = day; in asn1_time_parse_cbs()
|
H A D | a_time_posix.c | 43 is_valid_date(int64_t year, int64_t month, int64_t day) in is_valid_date() argument 46 if (day < 1 || month < 1 || year < 0 || year > 9999) in is_valid_date() 73 return day <= days_in_month; in is_valid_date() 105 posix_time_from_utc(int64_t year, int64_t month, int64_t day, int64_t hours, in posix_time_from_utc() argument 110 if (!is_valid_date(year, month, day) || in posix_time_from_utc() 120 5 + day - 1; in posix_time_from_utc()
|
/openbsd/usr.sbin/ac/ |
H A D | ac.c | 402 int day = -1; in ac() local 414 if (day >= 0 && day != ltm->tm_yday) { in ac() 415 day = ltm->tm_yday; in ac() 425 day = ltm->tm_yday; in ac() 467 if (day >= 0 && day != ltm->tm_yday) { in ac()
|
/openbsd/gnu/usr.bin/perl/cpan/HTTP-Tiny/t/ |
H A D | 110_mirror.t | 21 my $day = 24*3600; 24 'modified.txt' => $known_epoch - 2 * $day, 25 'not-modified.txt' => $known_epoch - 2 * $day,
|
/openbsd/gnu/usr.bin/perl/cpan/Time-Local/t/ |
H A D | Local.t | 121 day => $lt[3], 129 day => $mday, 149 day => $gt[3], 157 day => $mday,
|
/openbsd/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/ |
H A D | Tutorial.pod | 161 ok( $ical->day == 17, ' day()' ); 173 not ok 6 - day() 209 is( $ical->day, 17, ' day()' ); 222 not ok 6 - day() 230 Aha. C<< $ical->day >> returned 16, but we expected 17. A 234 is( $ical->day, 16, ' day()' ); 269 # An ICal string And the year, month, day 290 is( $ical->day, $expect->[2], ' day()' ); 346 ok 29 - day() 378 is( $t1->day, 1, " day()" ); [all …]
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | chrono | 330 // 25.8.3, class day // C++20 332 class day; 333 constexpr bool operator==(const day& x, const day& y) noexcept; 334 constexpr strong_ordering operator<=>(const day& x, const day& y) noexcept; 335 constexpr day operator+(const day& x, const days& y) noexcept; 336 constexpr day operator+(const days& x, const day& y) noexcept; 337 constexpr day operator-(const day& x, const days& y) noexcept; 338 constexpr days operator-(const day& x, const day& y) noexcept; 560 operator/(int m, const day& d) noexcept; 564 operator/(const day& d, int m) noexcept; [all …]
|
/openbsd/usr.sbin/ripctl/ |
H A D | ripctl.c | 268 unsigned int sec, min, hrs, day; in fmt_timeframe_core() local 286 day = week % 7; in fmt_timeframe_core() 290 snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs); in fmt_timeframe_core() 291 else if (day > 0) in fmt_timeframe_core() 292 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe_core()
|
/openbsd/sys/arch/amd64/stand/libsa/ |
H A D | time.c | 56 compute(int year, u_int8_t month, u_int8_t day, u_int8_t hour, in compute() argument 63 tt = (year - 1970) * 365 + monthcount[month] + day - 1; in compute()
|
/openbsd/sys/arch/i386/stand/libsa/ |
H A D | time.c | 56 compute(int year, u_int8_t month, u_int8_t day, u_int8_t hour, in compute() argument 63 tt = (year - 1970) * 365 + monthcount[month] + day - 1; in compute()
|