Method for calendar generation