Handle February month with leap year
if ( m == 2 ) : NEW_LINE INDENT if ( isLeap ( y ) ) : NEW_LINE INDENT return ( d <= 29 ) NEW_LINE DEDENT else : NEW_LINE INDENT return ( d <= 28 ) NEW_LINE DEDENT DEDENT