ExpressiveDate::__construct PHP 메소드

__construct() 공개 메소드

Create a new ExpressiveDate instance.
public __construct ( string $time = null, string | DateTimeZone $timezone = null ) : void
$time string
$timezone string | DateTimeZone
리턴 void
    public function __construct($time = null, $timezone = null)
    {
        $timezone = $this->parseSuppliedTimezone($timezone);
        parent::__construct($time, $timezone);
    }