private void readExceptionDay ( ProjectCalendar mpxjCalendar , ExceptedDay day ) { ProjectCalendarException mpxjException = mpxjCalendar . addCalendarException ( day . getDate ( ) , day . getDate ( ) ) ; if ( day . isIsDayWorking ( ) ) { for ( Document . Calendars . Calendar . ExceptedDays . ExceptedDay . TimePeriods . TimePeriod period : day . getTimePeriods ( ) . getTimePeriod ( ) ) { mpxjException . addRange ( new DateRange ( period . getFrom ( ) , period . getTo ( ) ) ) ; } } }
Read an exception day for a calendar .