Check bounds of date elements in Date.parse().