Depreciated Constructor - What is a better way to do this

Ah, have you read @rlkoshak’s DP time of day series?