private void writeExceptions ( List < ProjectCalendar > records ) throws IOException { for ( ProjectCalendar record : records ) { if ( ! record . getCalendarExceptions ( ) . isEmpty ( ) ) { // Need to move HOLI up here and get 15 exceptions per line as per USACE spec. // for now, we'll write one line for each calendar exception, hope there aren't too many // // changing this would be a serious upgrade, too much coding to do today.... for ( ProjectCalendarException ex : record . getCalendarExceptions ( ) ) { writeCalendarException ( record , ex ) ; } } m_eventManager . fireCalendarWrittenEvent ( record ) ; // left here from MPX template, maybe not needed??? } }
Write calendar exceptions .