I’ve implemented handling for multiple begin and end values including calculating the active duration, selecting the correct interval etc.
Read article →