}
private Double parseSpeed(Object objectValue, String stringValue) {
UnitSystem unitSystem = RouteConverter.getInstance().getUnitSystemModel().getUnitSystem();
Double value = parseDegrees(objectValue, stringValue, unitSystem.getSpeedName());
return unitSystem.distanceToDefault(value);
}
private CompactCalendar parseDateTime(Object objectValue, String stringValue) {
if (objectValue == null || objectValue instanceof CompactCalendar) {
return (CompactCalendar) objectValue;