It’s not the layout you’re looking for, but I did a proof of concept for a calendar a while ago: Calendar Experiment
What this demonstrates is
- determining the days in a year (i.e. respecting leap years)
- determining the week numbers and weeks containing days of each month
- localizing month names (weekday names are hard coded; not sure if I couldn’t make it work or just forgot to fix it though)
- special styling of holidays read from a list
I think this could well serve as a basis or inspiration for a calendar like you desire.