/** * <p>Compare Quarters (quarter and year).</p> * * @param value The <code>Calendar</code> value to check. * @param compare The <code>Calendar</code> to compare the value to. * @param monthOfFirstQuarter The month that the first quarter starts. * @return Zero if the quarters are equal, -1 if first * parameter's quarter is less than the seconds and +1 if the first * parameter's quarter is greater than. */ @Override public int compareQuarters(Calendar value, Calendar compare, int monthOfFirstQuarter) { return super.compareQuarters(value, compare, monthOfFirstQuarter); }
/** * <p>Compare Quarters (quarter and year).</p> * * @param value The <code>Date</code> value to check. * @param compare The <code>Date</code> to compare the value to. * @param timeZone The Time Zone used to compare the dates, system default if null. * @param monthOfFirstQuarter The month that the first quarter starts. * @return Zero if the quarters are equal, -1 if first * parameter's quarter is less than the seconds and +1 if the first * parameter's quarter is greater than. */ public int compareQuarters(Date value, Date compare, TimeZone timeZone, int monthOfFirstQuarter) { Calendar calendarValue = getCalendar(value, timeZone); Calendar calendarCompare = getCalendar(compare, timeZone); return super.compareQuarters(calendarValue, calendarCompare, monthOfFirstQuarter); }
/** * <p>Compare Quarters (quarter and year).</p> * * @param value The <code>Calendar</code> value to check. * @param compare The <code>Calendar</code> to compare the value to. * @param monthOfFirstQuarter The month that the first quarter starts. * @return Zero if the quarters are equal, -1 if first * parameter's quarter is less than the seconds and +1 if the first * parameter's quarter is greater than. */ public int compareQuarters(Calendar value, Calendar compare, int monthOfFirstQuarter) { return super.compareQuarters(value, compare, monthOfFirstQuarter); }
/** * <p>Compare Quarters (quarter and year).</p> * * @param value The <code>Calendar</code> value to check. * @param compare The <code>Calendar</code> to compare the value to. * @param monthOfFirstQuarter The month that the first quarter starts. * @return Zero if the quarters are equal, -1 if first * parameter's quarter is less than the seconds and +1 if the first * parameter's quarter is greater than. */ @Override public int compareQuarters(Calendar value, Calendar compare, int monthOfFirstQuarter) { return super.compareQuarters(value, compare, monthOfFirstQuarter); }
/** * <p>Compare Quarters (quarter and year).</p> * * @param value The <code>Date</code> value to check. * @param compare The <code>Date</code> to compare the value to. * @param timeZone The Time Zone used to compare the dates, system default if null. * @param monthOfFirstQuarter The month that the first quarter starts. * @return Zero if the quarters are equal, -1 if first * parameter's quarter is less than the seconds and +1 if the first * parameter's quarter is greater than. */ public int compareQuarters(Date value, Date compare, TimeZone timeZone, int monthOfFirstQuarter) { Calendar calendarValue = getCalendar(value, timeZone); Calendar calendarCompare = getCalendar(compare, timeZone); return super.compareQuarters(calendarValue, calendarCompare, monthOfFirstQuarter); }
/** * <p>Compare Quarters (quarter and year).</p> * * @param value The <code>Date</code> value to check. * @param compare The <code>Date</code> to compare the value to. * @param timeZone The Time Zone used to compare the dates, system default if null. * @param monthOfFirstQuarter The month that the first quarter starts. * @return Zero if the quarters are equal, -1 if first * parameter's quarter is less than the seconds and +1 if the first * parameter's quarter is greater than. */ public int compareQuarters(Date value, Date compare, TimeZone timeZone, int monthOfFirstQuarter) { Calendar calendarValue = getCalendar(value, timeZone); Calendar calendarCompare = getCalendar(compare, timeZone); return super.compareQuarters(calendarValue, calendarCompare, monthOfFirstQuarter); }
/** * <p>Compare Quarters (quarter and year).</p> * * @param value The <code>Date</code> value to check. * @param compare The <code>Date</code> to compare the value to. * @param timeZone The Time Zone used to compare the dates, system default if null. * @param monthOfFirstQuarter The month that the first quarter starts. * @return Zero if the quarters are equal, -1 if first * parameter's quarter is less than the seconds and +1 if the first * parameter's quarter is greater than. */ public int compareQuarters(Date value, Date compare, TimeZone timeZone, int monthOfFirstQuarter) { Calendar calendarValue = getCalendar(value, timeZone); Calendar calendarCompare = getCalendar(compare, timeZone); return super.compareQuarters(calendarValue, calendarCompare, monthOfFirstQuarter); }