function [ y, m, d ] = deflate_common ( y, m, d )

%*****************************************************************************80
%
%% deflate_common() "deflates" dates in the Common Calendar transition month.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 February 2013
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer Y, M, D, the YMD date.
%
%  Output:
%
%    integer Y, M, D, the YMD date after deflation.
%
  if ( y == 1582 )
    if ( m == 10 )
      if ( 15 <= d )
        d = d - 10;
      end
    end
  end

  return
end
