Improve access methods
More flexible setter for calendar modes
Fix tests calling CALENDAR constants
Merge pull request #52 from matthewrmshin/data-func

More flexible API for calendar mode