While you are at it, can you remove isSame, isBefore and isAfter : http://jsfiddle.net/PwwZJ/

Will prevent others from misunderstanding.