minor polishing on calendars.cpp and documentation for Rcpp Attributes