public final function setMonth( int $month = null )
      : DateTime
   {

      if ( \is_null( $month ) )
      {
         $month = static::CurrentMonth();
      }

      return $this->setDateParts( null, $month );

   }
public final function setMonth( int $month = null )
      : DateTime
   {

      if ( \is_null( $month ) )
      {
         $month = static::CurrentMonth();
      }

      return $this->setDateParts( null, $month );

   }
public final function setMonth ( int $ month = null ) : DateTime { if ( \ is_null ( $ month ) ) { $ month = static :: CurrentMonth ( ) ; } return $ this -> setDateParts ( null , $ month ) ; }
Changes the current defined month to defined value.

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