Get third friday of a month
<p>I am developing a local calendar for my application. but the is an issue with monthly repeat event (day of week).</p>

<p>When i am create an event starting on <code>16-9-2016(16 SEP 2016 FRIDAY)</code> and repeating Third Friday of each month. but next month it create on second 
    Friday 14-10-2016 (This is the issue). next month it will be on third Friday.</p>

<p>my code is </p>

<pre><code>public Date nthWeekdayOfMonth(int dayOfWeek, int month, int year, int week, TimeZone timeZone) {
        Calendar calendar = Calendar.getInstance();
        calendar.setTimeZone(timeZone);
        calendar.set(Calendar.DAY_OF_WEEK, dayOfWeek);
        calendar.set(Calendar.WEEK_OF_MONTH, week);
        calendar.set(Calendar.MONTH, month);
        calendar.set(Calendar.YEAR, year);
        return calendar.getTime();
    }
</code></pre>

<p>I know the issue. but i don`t know how to fix it.. is there any way to fix it ?</p>