Definition at line 10 of file DateFormatTest.php.
◆ testDateFormatBuilderAndGetters()
testFactory
Definition at line 34 of file DateFormatTest.php.
References $format.
37 '.',
',',
'-',
'/',
' ',
'd',
'jS',
'l',
'D',
'W',
'm',
'F',
'M',
'Y',
'y' 40 ->dot()->comma()->dash()->slash()->space()
41 ->day()->dayOrdinal()->weekday()->weekdayShort()
42 ->week()->month()->monthSpelled()->monthSpelledShort()
43 ->year()->twoDigitYear()
◆ testDateFormatFactory()
testFactory
Definition at line 23 of file DateFormatTest.php.
25 $this->assertInstanceOf(
DateFormat\DateFormat::class, $df->standard());
26 $this->assertInstanceOf(
DateFormat\DateFormat::class, $df->germanShort());
27 $this->assertInstanceOf(
DateFormat\DateFormat::class, $df->germanLong());
28 $this->assertInstanceOf(
DateFormat\FormatBuilder::class, $df->custom());
◆ testFactory()
DateFormatTest::testFactory |
( |
| ) |
|
◆ testInvalidTokens()
DateFormatTest::testInvalidTokens |
( |
| ) |
|
Definition at line 57 of file DateFormatTest.php.
59 $this->expectException(\InvalidArgumentException::class);
The documentation for this class was generated from the following file: