Factor rrule datetime value parsing into a method

The logic for DTSTART, EXDATE and RDATE is substantially similar, so it
makes sense to factor this out into a separate method.
1 file changed