Package net.sf.mpxj.planner.schema

Examples of net.sf.mpxj.planner.schema.OverriddenDayType


      if (isWorkingDay(mpxjCalendar, day))
      {
         ProjectCalendarHours mpxjHours = mpxjCalendar.getCalendarHours(day);
         if (mpxjHours != null)
         {
            OverriddenDayType odt = m_factory.createOverriddenDayType();
            typeList.add(odt);
            odt.setId(getIntegerString(uniqueID.next()));
            List<Interval> intervalList = odt.getInterval();
            for (DateRange mpxjRange : mpxjHours)
            {
               Date rangeStart = mpxjRange.getStart();
               Date rangeEnd = mpxjRange.getEnd();
View Full Code Here


      {
         List<OverriddenDayType> typeList = types.getOverriddenDayType();
         if (typeList != null)
         {
            Iterator<OverriddenDayType> iter = typeList.iterator();
            OverriddenDayType odt = null;
            while (iter.hasNext())
            {
               odt = iter.next();
               if (getInt(odt.getId()) != 0)
               {
                  odt = null;
                  continue;
               }

               break;
            }

            if (odt != null)
            {
               List<Interval> intervalList = odt.getInterval();
               if (intervalList != null)
               {
                  ProjectCalendarHours mondayHours = null;
                  ProjectCalendarHours tuesdayHours = null;
                  ProjectCalendarHours wednesdayHours = null;
View Full Code Here

TOP

Related Classes of net.sf.mpxj.planner.schema.OverriddenDayType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.