Drop the use of Enum.HasFlag() in the date parser