No need to check type
Get repeatedDay and repeatedDayPosition auto based on baseDate