コード例 #1
0
 /**
  * Testing of conversion logic in Time Util Test
  */
 public function testFromDateTime()
 {
     $clock = new Clock();
     $output = $clock->fromDateTime(new DateTime());
     $this->assertInstanceOf(TimePoint::CLASS, $output);
 }