Google\Cloud\BigQuery\Date::get PHP Method

get() public method

Get the underlying \DateTimeInterface implementation.
public get ( ) : DateTimeInterface
return DateTimeInterface
    public function get()
    {
        return $this->value;
    }

Usage Example

 public function testGet()
 {
     $value = new \DateTime();
     $date = new Date($value);
     $this->assertEquals($value, $date->get());
 }