convert duration
change timeperiod class inclusion