Пример #1
0
 public function testToSeconds()
 {
     $this->assertEquals(TimeHelper::toSeconds(1466159101859), 1466159101);
 }
Пример #2
0
 public function testMicroseconds()
 {
     $this->assertInternalType('int', TimeHelper::microseconds());
 }