Григорианский календарь
The following pseudocode determines whether a year is a "leap year" or a "common year" in the Gregorian calendar (and in the proleptic Gregorian calendar before 1582). The "year" variable being tested is the integer representing the number of the year in the Gregorian calendar.