code that gets all calendar appointments within specified time range
commit 2