Revision 35133 branches/dal_time_support/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/attributegetter/MilliToRelativeInstantFeatureAttributeGetter.java
MilliToRelativeInstantFeatureAttributeGetter.java | ||
---|---|---|
39 | 39 |
} |
40 | 40 |
|
41 | 41 |
public Object getter(Object sourceAttributeValue) { |
42 |
if (sourceAttributeValue == null){ |
|
43 |
return TIME_SUPPORT_MANAGER.createRelativeInstant(0); |
|
44 |
} |
|
42 | 45 |
return TIME_SUPPORT_MANAGER.createRelativeInstant((long)new Double(sourceAttributeValue.toString()).doubleValue()); |
43 | 46 |
} |
44 | 47 |
|
Also available in: Unified diff