'Returns dttm + interval unless dttm is first interval then it returns dttm'

def normalize_schedule(self, dttm):

    following = self.following_schedule(dttm)
    if (not following):
        return dttm
    if (self.previous_schedule(following) != dttm):
        return following
    return dttm
