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

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