public int getDepartureTime() {
		
		int lastState = vehicleState.size() -1; //-1 to get correct array position
		/**Presuming that the last vehicleState is the one which is
		* required. ie if it was parked that should be its last state,
		* if it was archived it should be its last state.
		*/
		if(this.vehicleState.get(lastState).equals("P"))
				return this.parkingTime + this.intendedDuration;
		else if (this.vehicleState.get(lastState).equals("A"))
			//Presume this is where the EnterParkedState method mentions
			//returning proper departure time
				return this.departureTime;
		else if (this.vehicleState.get(lastState)== "N" || this.vehicleState.get(lastState) == "Q")
			//Car may be in queue or just arrived.
			return 0;
		else
			return this.departureTime;
	}