function month_name = month_to_month_name_islamic ( m )

%*****************************************************************************80
%
%% month_to_month_name_islamic() returns the name of an Islamic month.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    16 March 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer M, the month index.
%
%  Output:
%
%    string MONTH_NAME, the month name.
%
  name = [ ...
    'Muharram  '; 'Safar     '; 'Rabi I    '; 'Rabi II   '; ...
    'Jumada I  '; 'Jumada II '; 'Rajab     '; 'Shaban    '; ...
    'Ramadan   '; 'Shawwal   '; 'Dhul-quda '; 'Dhul-hejji' ];

  if ( m < 1 || 12 < m )

    month_name = '??????????';

  else

    month_name = name(m,:);

  end

  return
end
