Check date.isValid()
Updated to v0.2.6