another option is to declare the primary construct...
# announcements
y
another option is to declare the primary constructor which takes the date as a date and the secondary constructor which takes the date as a string, parses it and calls the primary constructor with the parsed date