French Republican calendar: Difference between revisions

Content deleted Content added
Frisian (talk | contribs)
Frisian (talk | contribs)
Line 21: Line 21:


=={{header|BBC BASIC}}==
=={{header|BBC BASIC}}==
Version is not broken, bugfix only , see talk page.
Computes leap years using the "continuous" method: a year in the Republican calendar is a leap year if and only if the number of the <i>following</i> year is divisible by 4 but not by 100 unless also by 400. No attempt is made to deal with ill-formed or invalid input dates.
Computes leap years using the "continuous" method: a year in the Republican calendar is a leap year if and only if the number of the <i>following</i> year is divisible by 4 but not by 100 unless also by 400. No attempt is made to deal with ill-formed or invalid input dates.
<lang bbcbasic>REM >frrepcal
<lang bbcbasic>REM >frrepcal