Disable specific dates of day in Android date picker
<p>I'm using the datePicker and I can disable last days of today and later days after 30 days by the following code:</p>

<pre><code>DatePickerDialog datePicker = new DatePickerDialog();

             Calendar calender = Calendar.getInstance();
             long today = calender.getTimeInMillis();
             final long oneDay = 24 * 60 * 60 * 1000L;

             Date previousDays = new Date(today - 1000);
             datePicker.setMinDate(DateToCalendar(previousDays));

             Date nextMonth = new Date(today + 30 * oneDay);
             datePicker.setMaxDate(DateToCalendar(nextMonth));
</code></pre>

<p>If I want to disable Friday of every month, how can I do this?</p>