5 require_once(
"libs/composer/vendor/autoload.php");
15 $df =
$f->dateFormat();
16 $this->assertInstanceOf(
DateFormat\Factory::class, $df);
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());
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()
59 $this->expectException(\InvalidArgumentException::class);