public function secondTo(int $second): Date
    {
        return $this->createDateWithNewTime(
                $this->originalDate->hours(),
                $this->originalDate->minutes(),
                $second
        );
    }
public function secondTo(int $second): Date
    {
        return $this->createDateWithNewTime(
                $this->originalDate->hours(),
                $this->originalDate->minutes(),
                $second
        );
    }
public function secondTo ( int $ second ) : Date { return $ this -> createDateWithNewTime ( $ this -> originalDate -> hours ( ) , $ this -> originalDate -> minutes ( ) , $ second ) ; }
returns a new date instance with same date, hour and minute but changed second

@api
@param   int  $second
@return  \stubbles\date\Date
returns a new date instance with same date hour and minute but changed second