Examples of LongDateConverter


Examples of com.projectlibre.core.pm.exchange.converters.type.LongDateConverter

    FieldUtil.convertFields(task, NormalTask.class, openprojTask, fieldsToConvert, false);
    FieldUtil.convertFields(task, CustomFields.class, openprojTask.getCustomFields(), customFieldsToConvert, false);
   
    ConstraintType constraintType=(ConstraintType)task.get("constraintType");
    if (constraintType!=null){
      LongDateConverter converter=new LongDateConverter();
      Long constraintDate=(Long)converter.to(task.get("constraintDate"));
      openprojTask.setScheduleConstraint(constraintType.getId(),constraintDate==null?0:constraintDate);
    }
   
    //find calendar
    WorkCalendar calendar=task.getCalendar();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.