code: private void processCalendars() throws Exception
     {
        List<Row> rows = getRows("select * from zcalendar where zproject=?", m_projectID);
        for (Row row : rows)
        {
           ProjectCalendar calendar = m_project.addCalendar();
           calendar.setUniqueID(row.getInteger("Z_PK"));
           calendar.setName(row.getString("ZTITLE"));
           processDays(calendar);
           processExceptions(calendar);
           m_eventManager.fireCalendarReadEvent(calendar);
        }
     }
docs: Read calendar data.