/** * @param Hour $hour * @param Minute $minute * @param Second $second */ public function __construct(Hour $hour, Minute $minute, Second $second) { $this->hour = $hour; $this->minute = $minute; $this->second = $second; $this->timestamp = $hour->getSeconds()->add($minute->getSeconds())->add($second); $this->native = self::getNowDateTime()->setTime($hour->getValue(), $minute->getValue(), $minute->getValue()); parent::__construct(func_get_args()); }