Calendar controller