Searched refs:weekday (Results 1 – 22 of 22) sorted by relevance
/PHP-8.2/ext/date/tests/ |
H A D | DateInterval_serialize-003.phpt | 7 $d = DateInterval::createFromDateString('next weekday'); 27 'date_string' => 'next weekday', 43 string(%d) "next weekday" 48 string(%d) "O:12:"DateInterval":2:{s:11:"from_string";b:1;s:11:"date_string";s:%d:"next weekday";}" 56 string(%d) "next weekday" 65 string(%d) "next weekday" 74 string(%d) "next weekday"
|
H A D | getdate_variation5.phpt | 53 ["weekday"]=> 79 ["weekday"]=> 105 ["weekday"]=> 131 ["weekday"]=> 157 ["weekday"]=> 183 ["weekday"]=> 209 ["weekday"]=>
|
H A D | getdate_variation4.phpt | 49 ["weekday"]=> 75 ["weekday"]=> 101 ["weekday"]=> 127 ["weekday"]=>
|
H A D | gmstrftime_variation3.phpt | 12 'Abbreviated weekday name' => "%a", 13 'Full weekday name' => "%A", 30 --Abbreviated weekday name-- 38 --Full weekday name--
|
H A D | strftime_variation3.phpt | 13 'Abbreviated weekday name' => "%a", 14 'Full weekday name' => "%A", 30 --Abbreviated weekday name-- 38 --Full weekday name--
|
H A D | bug43452.phpt | 2 Bug #43452 ("weekday" is not equivalent to "1 weekday" of the current weekday is "weekday") 27 // First, second, etc skip to the first/second weekday *after* the current day.
|
H A D | getdate_variation2.phpt | 48 ["weekday"]=> 74 ["weekday"]=> 100 ["weekday"]=>
|
H A D | getdate_variation3.phpt | 48 ["weekday"]=> 74 ["weekday"]=> 100 ["weekday"]=>
|
H A D | date_interval_non_relative_warning.phpt | 6 'next weekday 15:30', 22 Warning: DateInterval::createFromDateString(): String 'next weekday 15:30' contains non-relative el… 30 Warning: date_interval_create_from_date_string(): String 'next weekday 15:30' contains non-relative…
|
H A D | 008.phpt | 32 ["weekday"]=> 56 ["weekday"]=>
|
H A D | getdate_basic.phpt | 39 ["weekday"]=> 63 ["weekday"]=>
|
H A D | bug72719.phpt | 2 Bug #72719: Relative datetime format ignores weekday on sundays only
|
H A D | date_time_fractions.phpt | 31 echo $dt->modify( "10 weekday" )->format( "Y-m-d H:i:s.u" ), "\n";
|
/PHP-8.2/ext/date/lib/ |
H A D | dow.c | 95 int y_leap, prev_y_leap, doy, jan1weekday, weekday; in timelib_isoweek_from_date() local 104 weekday = timelib_day_of_week(y, m, d); in timelib_isoweek_from_date() 105 if (weekday == 0) weekday = 7; in timelib_isoweek_from_date() 123 if ((i - (doy - y_leap)) < (4 - weekday)) { in timelib_isoweek_from_date() 133 j = doy + (7 - weekday) + (jan1weekday - 1); in timelib_isoweek_from_date()
|
H A D | tm2unixtime.c | 162 if (current_dow == 0 && time->relative.weekday != 0) { in do_adjust_for_weekday() 163 time->relative.weekday -= 7; in do_adjust_for_weekday() 168 if (time->relative.weekday == 0 && current_dow != 0) { in do_adjust_for_weekday() 169 time->relative.weekday = 7; in do_adjust_for_weekday() 173 time->d += time->relative.weekday; in do_adjust_for_weekday() 176 difference = time->relative.weekday - current_dow; in do_adjust_for_weekday() 180 if (time->relative.weekday >= 0) { in do_adjust_for_weekday() 183 time->d -= (7 - (abs(time->relative.weekday) - current_dow)); in do_adjust_for_weekday() 504 printf (" / %d", time.relative.weekday);
|
H A D | parse_date.re | 237 { "weekday", TIMELIB_SPECIAL, TIMELIB_SPECIAL_WEEKDAY }, 733 * for not overwriting the time portion for 'X weekday'. 758 s->time->relative.weekday = relunit->multiplier; 1059 dayspecial = 'weekday' | 'weekdays'; 1808 s->time->relative.weekday = 0 - s->time->relative.weekday; 1809 if (s->time->relative.weekday == 0) { 1810 s->time->relative.weekday = -7; 1828 s->time->relative.weekday = relunit->multiplier; 1854 s->time->relative.weekday = 1; 2272 in.time->relative.weekday = tmprel->multiplier; [all …]
|
H A D | timelib.c | 356 printf(" / %d.%d", d->relative.weekday, d->relative.weekday_behavior); in timelib_dump_date()
|
H A D | timelib.h | 228 int weekday; /* Stores the day in 'next monday' */ member
|
H A D | parse_iso_intervals.re | 405 in.period->weekday = 0;
|
H A D | parse_iso_intervals.c | 1047 in.period->weekday = 0; in timelib_strtointerval()
|
H A D | parse_date.c | 760 s->time->relative.weekday = relunit->multiplier; in timelib_set_relative() 7853 s->time->relative.weekday = 0 - s->time->relative.weekday; in scan() 7854 if (s->time->relative.weekday == 0) { in scan() 7855 s->time->relative.weekday = -7; in scan() 8495 s->time->relative.weekday = relunit->multiplier; in scan() 22499 s->time->relative.weekday = 1; in scan() 25122 in.time->relative.weekday = tmprel->multiplier; in timelib_parse_from_format_with_map() 25603 printf (" / %d", time.relative.weekday); in main()
|
/PHP-8.2/ext/date/ |
H A D | php_date.c | 3035 add_assoc_long(&element, "weekday", parsed_time->relative.weekday); in php_date_do_return_parsed_time() 4430 PHP_DATE_INTERVAL_READ_PROPERTY("weekday", weekday, int, -1) in php_date_interval_initialize_from_hash()
|
Completed in 103 milliseconds