Summary

fun Summary(    length: Distance,     travelTime: Duration,     trafficDelay: Duration = Duration.ZERO,     trafficLength: Distance = Distance.ZERO,     departureTimeWithZone: DateTime,     arrivalTimeWithZone: DateTime,     batteryConsumption: Energy? = null,     fuelConsumption: Volume? = null)

Parameters

length

Route length in meters.

travelTime

Estimated travel time.

trafficDelay

Traffic delay.

trafficLength

Traffic length.

departureTimeWithZone

Departure time including the time zone.

arrivalTimeWithZone

Arrival time including the time zone.

batteryConsumption

Battery consumption using an electric engine.

fuelConsumption

Fuels consumption using a combustion engine.