MBS-5663: validDate should handle leap years
Merge remote-tracking branch 'bitmap/mbs-5663' into beta

* bitmap/mbs-5663:
  MBS-5663: validDate should handle leap years