converted remainder of calendars.cpp to Attributes