An utility lib to convert a list of consecutive dates to events