@Override
    public int getTaxeAt(Vehicle vehicle, int year) {
        Type vehicleType = getManagerTypeAt(year).getVehicleType(vehicle);

        Calendar calendar = new GregorianCalendar();
        calendar.setTime(vehicle.getStartDate());

        int startYear = calendar.get(Calendar.YEAR);

        switch (vehicleType) {
            case LIGHT:
                if (startYear > year) {
                    return 0;
                } else if (startYear + 5 <= year) {
                    return 150;
                } else {
                    return 100;
                }
            case HEAVY:
                if (startYear > year) {
                    return 0;
                } else if (startYear + 10 <= year) {
                    return 800;
                } else {
                    return 500;
                }
        }

        return 0;
    }