Home
last modified time | relevance | path

Searched refs:week (Results 1 – 25 of 38) sorted by relevance

12

/php-src/ext/xsl/tests/
H A Dxslt010.phpt36 week-in-year : 1
39 day-of-week-in-month : 5
40 day-in-week : 2
54 week-in-year : 5
57 day-of-week-in-month : 5
58 day-in-week : 6
72 week-in-year : 9
75 day-of-week-in-month : 5
76 day-in-week : 3
90 week-in-year : 1
[all …]
H A Dxslt010_gt10129.phpt36 week-in-year : 1
39 day-of-week-in-month : 5
40 day-in-week : 2
54 week-in-year : 5
57 day-of-week-in-month : 5
58 day-in-week : 6
72 week-in-year : 9
75 day-of-week-in-month : 5
76 day-in-week : 3
90 week-in-year : 1
[all …]
/php-src/ext/date/tests/
H A Dbug74057.phpt2 Bug #74057: wrong day when using "this week" in strtotime
5 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sun 2017-01-01")))."\n";
6 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Mon 2017-01-02")))."\n";
7 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Tue 2017-01-03")))."\n";
8 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Wed 2017-01-04")))."\n";
9 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Thu 2017-01-05")))."\n";
10 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Fri 2017-01-06")))."\n";
11 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sat 2017-01-07")))."\n";
12 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Sun 2017-01-08")))."\n";
13 echo date("D Y-m-d", strtotime("saturday this week", strtotime("Mon 2017-01-09")))."\n";
H A Dbug72719.phpt5 echo (new DateTimeImmutable('Monday next week 13:00'))->format('l'), "\n";
6 echo (new DateTimeImmutable('Tuesday next week 14:00'))->format('l'), "\n";
7 echo (new DateTimeImmutable('Wednesday next week 14:00'))->format('l'), "\n";
8 echo (new DateTimeImmutable('Thursday next week 15:00'))->format('l'), "\n";
9 echo (new DateTimeImmutable('Friday next week 16:00'))->format('l'), "\n";
10 echo (new DateTimeImmutable('Saturday next week 17:00'))->format('l'), "\n";
11 echo (new DateTimeImmutable('Sunday next week 18:00'))->format('l'), "\n";
H A Dbug43452.phpt7 // (November 1st) is the same day of week.
17 // forward one week, then behaves like above for week days
20 $day = strtotime( "+1 week Thursday Nov 2007" );
22 $day = strtotime( "+2 week Thursday Nov 2007" );
24 $day = strtotime( "+3 week Thursday Nov 2007" );
28 // This makes "first thursday" equivalent to "+1 week thursday" - but only
29 // if the current day-of-week is the one mentioned in the phrase.
39 // Now the same where the current day-of-week does not match the one in the
H A Didate_variation4.phpt17 'Day of the week' => 'w',
18 'ISO-8601 week number' => 'W',
45 --Day of the week--
48 --ISO-8601 week number--
H A DDateTime_setISODate_basic1.phpt13 // Which month is week 40 ?
17 // What date is week week 30 day 3 ?
H A Ddate_isodate_set_basic1.phpt13 // Which month is week 40 ?
17 // What date is week week 30 day 3 ?
H A Dbug73942.phpt2 Bug #73942: $date->modify('Friday this week') doesn't return a Friday if $date is a Sunday
7 $date->modify('Friday this week');
H A Dgmdate_variation5.phpt11 echo "\n-- Testing gmdate() function with ISO-8601 week number of year format --\n";
19 -- Testing gmdate() function with ISO-8601 week number of year format --
H A Dgmstrftime_variation9.phpt2 Test gmstrftime() function : usage variation - Checking week related formats which was not supporte…
14 'The ISO 8601:1988 week number' => "%V",
30 --The ISO 8601:1988 week number--
H A Dstrftime_variation9.phpt2 Test strftime() function : usage variation - Checking week related formats which was not supported …
14 'The ISO 8601:1988 week number' => "%V",
30 --The ISO 8601:1988 week number--
H A Dbug63740.phpt2 Bug #63740 (strtotime seems to use both sunday and monday as start of week)
25 $dtn = $dt->modify( "this week" );
H A Dgmstrftime_variation10.phpt2 Test gmstrftime() function : usage variation - Checking week related formats which are supported ot…
20 'The ISO 8601:1988 week number' => "%V",
36 --The ISO 8601:1988 week number--
H A Dstrftime_variation10.phpt2 Test strftime() function : usage variation - Checking week related formats which are supported othe…
20 'The ISO 8601:1988 week number' => "%V",
36 --The ISO 8601:1988 week number--
H A Ddate-time-modify-times.phpt11 'next week monday',
12 'next week monday 10am',
H A Dbug29585.phpt2 Bug #29585 (Support week numbers in strtotime())
H A Dbug33452.phpt2 Bug #33452 (Support for year accompanying ISO week nr)
H A Dbug35456.phpt11 echo date(DATE_ISO8601, strtotime("+ 1 week", $t)) . "\n";
H A Dbug63391.phpt2 Test for #63391 (Incorrect/inconsistent day of week prior to the year 1600)
H A Dbug52454.phpt8 $endOfWeek->modify('this week +6 days');
H A Dbug77571.phpt10 $date4->modify('+5 week'); // 2019-05-06 00:00:00.0 Europe/London (+01:00)
H A Dstrftime_variation7.phpt17 'Day of the week as a decimal number' => "%w"
48 --Day of the week as a decimal number--
/php-src/ext/intl/tests/
H A Dcalendar_setFirstDayOfWeek_error.phpt31 IntlCalendar::setFirstDayOfWeek(): Argument #1 ($dayOfWeek) must be a valid day of the week
32 intlcal_set_first_day_of_week(): Argument #2 ($dayOfWeek) must be a valid day of the week
H A Dcalendar_getDayOfWeekType_error.phpt24 IntlCalendar::getDayOfWeekType(): Argument #1 ($dayOfWeek) must be a valid day of the week

Completed in 16 milliseconds

12