function [ y, m, d, h, n ] = minute_borrow_common ( y, m, d, h, n )

%*****************************************************************************80
%
%% minute_borrow_common() "borrows" an hour of minutes in a Common date.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    14 July 2012
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer Y, M, D, H, N, the year, month, day, hour and minute.
%
%  Output:
%
%    integer Y, M, D, H, N, the year, month, day, hour and minute after borrowing.
%
  while ( n < 0 )

    n = n + 60;
    h = h - 1;

    [ y, m, d, h ] = hour_borrow_common ( y, m, d, h );

  end

  return
end
