Creates a new ContactDateTime based on str.
str
a date, time, date-time string in vCard format
A new ContactDateTime struct.