7868: fix Interval error in master

fixes #7868; see commit notes
Since this is a `staticmethod`  perhaps `self` is not the best argument choice