Dot-method validation for enumeration and date-time methods.