Re:A Formula for the Number of Days in Each Month
by _lce0 on Friday December 05, 2014 @05:11PM
(#8707222)
but that's trival, isn't that already solved?
I remember it's something related with "(x % 4) == 0" and "not ends_with(00)"
[ Parent
| on HN ]
Re:A Formula for the Number of Days in Each Month
by joezydeco on Friday December 05, 2014 @05:56PM
(#8707417)
OP is trying to express the day count as a pure math expression. maybeLeap() probably won't do here.