public TimephasedValue<?> from(net.sf.mpxj.mspdi.schema.TimephasedDataType mpxTimephased, MpxImportState state) {
TimephasedType type=TimephasedType.getInstance(mpxTimephased.getType().intValue());
if (!type.isWork())
return null;
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);