get() 공개 메소드

Get the underlying \DateTimeInterface implementation.
public get ( ) : DateTimeInterface
리턴 DateTimeInterface
 public function testGet()
 {
     $value = new \DateTime();
     $timestamp = new Timestamp($value);
     $this->assertEquals($value, $timestamp->get());
 }