Partial implementation of a calendar repository (does not compile)