IsXsDate🔗
Check that
text is a valid xs:date.
We check that the text matches the pattern of xs:date, and that
the day exists in the month (
e.g.
, February 29th only in leap years).
Code
return matches_xs_date(text) and _is_prefix_valid_date(text)