public final function setHour( int $hour = null )
      : DateTime
   {

      if ( \is_null( $hour ) )
      {
         $hour = static::CurrentHour();
      }

      return $this->setTimeParts( $hour );

   }
public final function setHour( int $hour = null )
      : DateTime
   {

      if ( \is_null( $hour ) )
      {
         $hour = static::CurrentHour();
      }

      return $this->setTimeParts( $hour );

   }
public final function setHour ( int $ hour = null ) : DateTime { if ( \ is_null ( $ hour ) ) { $ hour = static :: CurrentHour ( ) ; } return $ this -> setTimeParts ( $ hour ) ; }
Changes the current defined hour to defined value.

@param  integer $hour The new hour value. If the value NULL is used it means: Use the hour of NOW()
@return \Beluga\Date\DateTime
Changes the current defined hour to defined value .