Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d4b0062 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by Android (Google) Code Review
Browse files

Merge "Adding APIs for setting whether to show week number and setting the...

Merge "Adding APIs for setting whether to show week number and setting the start day of week. Cleaned up the code a bit."
parents 827521a8 e9730bf3
Loading
Loading
Loading
Loading
+645 −204

File changed.

Preview size limit exceeded, changes collapsed.

+4 −10
Original line number Diff line number Diff line
@@ -118,18 +118,12 @@ public class DatePickerDialog extends AlertDialog implements OnClickListener,
    }

    /**
     * Sets the range of years in which dates can be selected.
     * <p>
     * Note: If the range is set to a value that does not include the currently
     * selected date the value of the picker shown by this dialog will be
     * updated to the closest date in the range.
     * </p>
     * Gets the {@link DatePicker} contained in this dialog.
     *
     * @param startYear The start year of the range.
     * @param endYear The end year of the range.
     * @return The calendar view.
     */
    public void setRange(int startYear, int endYear) {
        mDatePicker.setRange(startYear, endYear);
    public DatePicker getDatePicker() {
        return mDatePicker;
    }

    /**
+549 −635

File changed and moved.

Preview size limit exceeded, changes collapsed.

+331 −126

File changed.

Preview size limit exceeded, changes collapsed.

+222 −168

File changed.

Preview size limit exceeded, changes collapsed.

Loading