Home > freetb4matlab > time > is_leap_year.m

is_leap_year

PURPOSE ^

% Return 1 if the given year is a leap year and 0 otherwise. If no

SYNOPSIS ^

function retval = is_leap_year (year)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} is_leap_year (@var{year})
% Return 1 if the given year is a leap year and 0 otherwise.  If no
% arguments are provided, @code{is_leap_year} will use the current year.
% For example,
%
% @example
% @group
% is_leap_year (2000)
%      @result{} 1
% @end group
% @end example
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003