Package com.projity.pm.calendar

Examples of com.projity.pm.calendar.WorkRange


  public static  void toMpxExceptionDay(WorkDay day,ProjectCalendarException mpxDay) {
    if  (day==null)
      return;
    WorkingHours workingHours=day.getWorkingHours();
    WorkRange range;

    range=workingHours.getInterval(0);
    if (range!=null){
      mpxDay.addRange(new DateRange(DateTime.fromGmt(range.getNormalizedStartTime()),DateTime.fromGmt(range.getNormalizedEndTime()))); //claur
    }

    range=workingHours.getInterval(1);
    if (range!=null){
      mpxDay.addRange(new DateRange(DateTime.fromGmt(range.getNormalizedStartTime()),DateTime.fromGmt(range.getNormalizedEndTime())));//claur
    }

    range=workingHours.getInterval(2);
    if (range!=null){
      mpxDay.addRange(new DateRange(DateTime.fromGmt(range.getNormalizedStartTime()),DateTime.fromGmt(range.getNormalizedEndTime())));//claur
    }
  }
View Full Code Here

TOP

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

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.