# Definition of piecewise continuous/piecewise smooth

In my textbook, piecewise continous/piecewise smooth is always defined on interval[a,b]. Can they be defined on open interval (a.b)?