Feel free to post a comment with ASCII art or (pseudo-)code. :)
if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) [it's a leap year] else [it's not]