Created
May 20, 2014 03:11
-
-
Save kasajian/48540f4d9322ef302824 to your computer and use it in GitHub Desktop.
Leap year logic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
year % 4 == 0 && (year % 100 != 0 || year % 400 == 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment