Plenty of sample master calendars in this forum.
To prove the point of load script compatibility between QlikView and Qlik Sense, I've ported several different QV apps over to Sense. Works great, except for the data connectors that have to be changed to Sense's new syntax. That's a minor issue though.
I actually used a master calendar in a post earlier today to exemplify QlikView to Qlik Sense script portability, small world.
In this post I have attached a qvf file with a simple calendar table example.
Worth having a looking into using QDF which has a simple function to create calendar tables.
Please check below link for Master Calendar script
Script is common to both Qlikview and Qliksense, so you can use the same script for Qliksense also.