A calendar interval controller