Package com.projectlibre.core.pm.exchange.converters.openproj.type

Examples of com.projectlibre.core.pm.exchange.converters.openproj.type.OpenprojDurationConverter.from()


    DateLongConverter dateConverter=new DateLongConverter();
    long start=(Long)dateConverter.from(mpxTimephased.getStart());
    long finish=(Long)dateConverter.from(mpxTimephased.getFinish());
    OpenprojDurationConverter durationConverter=new OpenprojDurationConverter();
    net.sf.mpxj.Duration mpxDuration=DatatypeConverter.parseDuration(state.getMpxProjectFile(),null,mpxTimephased.getValue());
    Duration value=(Duration)durationConverter.from(mpxDuration);
    TimephasedValue<Duration> timephased=new DefaultTimephasedValue<Duration>(start,finish,value,type);
    return timephased;
  }

 
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.