function value = year_length_days_roman ( y )

%*****************************************************************************80
%
%% year_length_days_roman() returns the number of days in a Roman year.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    28 February 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer Y, the year to be checked.
%
%  Output:
%
%    integer VALUE, the number of days in the year.
%
  if ( year_is_leap_roman ( y ) )
    value = 366;
  else
    value = 365;
  end

  return
end
