YYYY and YYYY-MM should also be accepted as valid for xDate fields.
YYYY and YYYY-MM should also be accepted as valid for xDate fields.