is.pconsecutive function

Check if time periods are consecutive