private ProjectCalendar deriveResourceCalendar ( Integer parentCalendarID ) { ProjectCalendar calendar = m_project . addDefaultDerivedCalendar ( ) ; calendar . setUniqueID ( Integer . valueOf ( m_project . getProjectConfig ( ) . getNextCalendarUniqueID ( ) ) ) ; calendar . setParent ( m_project . getCalendarByUniqueID ( parentCalendarID ) ) ; return calendar ; }
Derive a calendar for a resource .