function jed = ymdf_to_jed_soor_san ( y, m, d, f )

%*****************************************************************************80
%
%% YMDF_TO_JED_SOOR_SAN converts a Soor San YMDF date to a JED.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    13 March 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer Y, M, D, real F, the YMDF date.
%
%  Output:
%
%    real JED, the corresponding Julian Ephemeris Date.
%
  jed_epoch = epoch_to_jed_soor_san ( );

  jed = jed_epoch + ( d - 1 ) + 30 * ( m - 1 ) + 365 * ( y - 1 ) ...
    + floor ( ( y - 1 ) / 4 ) + f;

  return
end
