function s = weekday_to_name_islamic ( w )

%*****************************************************************************80
%
%% weekday_to_name_islamic() returns the name of an Islamic weekday.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 April 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer W, the weekday index.
%
%  Output:
%
%    string S, the weekday name.
%
  weekday_name = [ ...
    'Yom ilHadd   '; ...
    'Yom litneen  '; ...
    'Yom ittalat  '; ...
    'Yom larba    '; ...
    'Yom ilkhamiis'; ...
    'Yom ilguma   '; ...
    'Yom issabt   '];
%
%  Make a local copy of the weekday number.
%
  w2 = w;
%
%  Check the weekday number.
%
  weekday_check_common ( w2 );
%
%  Return the weekday name.
%
  s = weekday_name(w2,:);

  return
end
