Package com.projity.pm.calendar

Examples of com.projity.pm.calendar.WorkDay


    WorkingCalendar wc = workCalendar;
    if (workCalendar.isBaseCalendar())
      wc = (WorkingCalendar) workCalendar.getBaseCalendar();
    for (int i = 0; i < 7; i++) {// MPX days go from SUNDAY=1 to SATURDAY=7
      WorkDay day= workCalendar.isBaseCalendar() ? workCalendar.getDerivedWeekDay(i) : workCalendar.getWeekDay(i);
      ProjectCalendarHours mpxDay = null;
      Day d = Day.getInstance(i+1);
      if (day == null) {
        mpx.setWorkingDay(d,DayType.DEFAULT); // claur
      } else {
        mpx.setWorkingDay(d,day.isWorking());
        if (day.isWorking()) {
          mpxDay = mpx.addCalendarHours(Day.getInstance(i+1));
          toMpxCalendarDay(day,mpxDay);
        }
      }
    }
View Full Code Here

TOP

Related Classes of com.projity.pm.calendar.WorkDay

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.