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

Commit e9730bf3 authored by Svetoslav Ganov's avatar Svetoslav Ganov
Browse files

Adding APIs for setting whether to show week number and setting the start day...

Adding APIs for setting whether to show week number and setting the start day of week. Cleaned up the code a bit.

Change-Id: Iaa7154c6912a68cd91df3ac881c324096394ea24
parent 2990594e
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