I overrode toString in the other one as a convenience. In retrospect, it's not necessary, but I didn't want to remove it. The OptionalDateField class is new, though, so I didn't use here.