I've never used it but stumbled over the Periods Format a while back that on initial read "looks" like it could fit your requirements. Worth a look at least.
Courses and course formats
Topic access restriction based on enrollment date
This discussion has been locked so you can no longer reply to it.