/** * Gets the maximum number of days in the month specified by the instant. * The value represents what the user is trying to set, and can be * used to optimise this method. * * @param instant millis from 1970-01-01T00:00:00Z * @param value the value being set * @return the maximum number of days in the month */ int getDaysInMonthMaxForSet(long instant, int value) { return getDaysInMonthMax(instant); }
/** * Gets the maximum number of days in the month specified by the instant. * The value represents what the user is trying to set, and can be * used to optimise this method. * * @param instant millis from 1970-01-01T00:00:00Z * @param value the value being set * @return the maximum number of days in the month */ int getDaysInMonthMaxForSet(long instant, int value) { return getDaysInMonthMax(instant); }
public int getMaximumValue(long instant) { return iChronology.getDaysInMonthMax(instant); }
public int getMaximumValue() { return iChronology.getDaysInMonthMax(); }
public int getMaximumValue() { return iChronology.getDaysInMonthMax(); }
public int getMaximumValue(long instant) { return iChronology.getDaysInMonthMax(instant); }
public int getMaximumValue(ReadablePartial partial, int[] values) { int size = partial.size(); for (int i = 0; i < size; i++) { if (partial.getFieldType(i) == DateTimeFieldType.monthOfYear()) { int month = values[i]; for (int j = 0; j < size; j++) { if (partial.getFieldType(j) == DateTimeFieldType.year()) { int year = values[j]; return iChronology.getDaysInYearMonth(year, month); } } return iChronology.getDaysInMonthMax(month); } } return getMaximumValue(); }
public int getMaximumValue(ReadablePartial partial, int[] values) { int size = partial.size(); for (int i = 0; i < size; i++) { if (partial.getFieldType(i) == DateTimeFieldType.monthOfYear()) { int month = values[i]; for (int j = 0; j < size; j++) { if (partial.getFieldType(j) == DateTimeFieldType.year()) { int year = values[j]; return iChronology.getDaysInYearMonth(year, month); } } return iChronology.getDaysInMonthMax(month); } } return getMaximumValue(); }
public int getMaximumValue(ReadablePartial partial) { if (partial.isSupported(DateTimeFieldType.monthOfYear())) { int month = partial.get(DateTimeFieldType.monthOfYear()); if (partial.isSupported(DateTimeFieldType.year())) { int year = partial.get(DateTimeFieldType.year()); return iChronology.getDaysInYearMonth(year, month); } return iChronology.getDaysInMonthMax(month); } return getMaximumValue(); }
public int getMaximumValue(ReadablePartial partial) { if (partial.isSupported(DateTimeFieldType.monthOfYear())) { int month = partial.get(DateTimeFieldType.monthOfYear()); if (partial.isSupported(DateTimeFieldType.year())) { int year = partial.get(DateTimeFieldType.year()); return iChronology.getDaysInYearMonth(year, month); } return iChronology.getDaysInMonthMax(month); } return getMaximumValue(); }
/** * Gets the maximum number of days in the month specified by the instant. * The value represents what the user is trying to set, and can be * used to optimise this method. * * @param instant millis from 1970-01-01T00:00:00Z * @param value the value being set * @return the maximum number of days in the month */ int getDaysInMonthMaxForSet(long instant, int value) { return getDaysInMonthMax(instant); }
public int getMaximumValue(long instant) { return iChronology.getDaysInMonthMax(instant); }
public int getMaximumValue() { return iChronology.getDaysInMonthMax(); }
public int getMaximumValue(ReadablePartial partial, int[] values) { int size = partial.size(); for (int i = 0; i < size; i++) { if (partial.getFieldType(i) == DateTimeFieldType.monthOfYear()) { int month = values[i]; for (int j = 0; j < size; j++) { if (partial.getFieldType(j) == DateTimeFieldType.year()) { int year = values[j]; return iChronology.getDaysInYearMonth(year, month); } } return iChronology.getDaysInMonthMax(month); } } return getMaximumValue(); }
/** * Gets the maximum number of days in the month specified by the instant. * The value represents what the user is trying to set, and can be * used to optimise this method. * * @param instant millis from 1970-01-01T00:00:00Z * @param value the value being set * @return the maximum number of days in the month */ int getDaysInMonthMaxForSet(long instant, int value) { return getDaysInMonthMax(instant); }
/** * Gets the maximum number of days in the month specified by the instant. * The value represents what the user is trying to set, and can be * used to optimise this method. * * @param instant millis from 1970-01-01T00:00:00Z * @param value the value being set * @return the maximum number of days in the month */ int getDaysInMonthMaxForSet(long instant, int value) { return getDaysInMonthMax(instant); }
/** * Gets the maximum number of days in the month specified by the instant. * The value represents what the user is trying to set, and can be * used to optimise this method. * * @param instant millis from 1970-01-01T00:00:00Z * @param value the value being set * @return the maximum number of days in the month */ int getDaysInMonthMaxForSet(long instant, int value) { return getDaysInMonthMax(instant); }
public int getMaximumValue(ReadablePartial partial) { if (partial.isSupported(DateTimeFieldType.monthOfYear())) { int month = partial.get(DateTimeFieldType.monthOfYear()); if (partial.isSupported(DateTimeFieldType.year())) { int year = partial.get(DateTimeFieldType.year()); return iChronology.getDaysInYearMonth(year, month); } return iChronology.getDaysInMonthMax(month); } return getMaximumValue(); }
public int getMaximumValue(ReadablePartial partial) { if (partial.isSupported(DateTimeFieldType.monthOfYear())) { int month = partial.get(DateTimeFieldType.monthOfYear()); if (partial.isSupported(DateTimeFieldType.year())) { int year = partial.get(DateTimeFieldType.year()); return iChronology.getDaysInYearMonth(year, month); } return iChronology.getDaysInMonthMax(month); } return getMaximumValue(); }
public int getMaximumValue(ReadablePartial partial) { if (partial.isSupported(DateTimeFieldType.monthOfYear())) { int month = partial.get(DateTimeFieldType.monthOfYear()); if (partial.isSupported(DateTimeFieldType.year())) { int year = partial.get(DateTimeFieldType.year()); return iChronology.getDaysInYearMonth(year, month); } return iChronology.getDaysInMonthMax(month); } return getMaximumValue(); }