code: private void readDay(ProjectCalendar calendar, Project.Calendars.Calendar.WeekDays.WeekDay day, boolean readExceptionsFromDays)
     {
        BigInteger dayType = day.getDayType();
        if (dayType != null)
        {
           if (dayType.intValue() == 0)
           {
              if (readExceptionsFromDays)
              {
                 readExceptionDay(calendar, day);
              }
           }
           else
           {
              readNormalDay(calendar, day);
           }
        }
     }
docs: This method extracts data for a single day from an MSPDI file.
  
  @param calendar Calendar data
  @param day Day data
  @param readExceptionsFromDays read exceptions form day definitions