function months = year_length_months_gregorian ( y ) %*****************************************************************************80 % %% YEAR_LENGTH_MONTHS_GREGORIAN: number of months in a Gregorian year. % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 16 June 2012 % % Author: % % John Burkardt % % Parameters: % % Input, integer Y, the year to be checked. % % Output, integer MONTHS, the number of % months in the year. % months = 12; return end