private Date calculateEta(Itinerary itinerary) { if (onTrack()) { return itinerary.getFinalArrivalDate(); } else { return ETA_UNKOWN; } }