Check if a year is a leap year.
Formula
leap = year % 4 == 0 && (year % 100 != 0 || year % 400 == 0)
Is Leap Year (1=yes)
—
Days in February