Skip to content

Commit

Permalink
Update doc comment for the setupCalendar method
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Surinov committed Aug 30, 2018
1 parent b8e86d8 commit af9287a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ class CalendarView @JvmOverloads constructor(
*
* [firstDayOfWeek] the first day of week: [Calendar.SUNDAY], [Calendar.MONDAY], etc.
* Default value - null. If null, Calendar will be initialized with the `firstDayOfWeek` from the default Locale
*
* [showYearSelectionView] flag that indicates whether year selection view will be displayed or not.
* Default value - true
*/
fun setupCalendar(
initialDate: CalendarDate = CalendarDate.today,
Expand All @@ -434,8 +437,8 @@ class CalendarView @JvmOverloads constructor(
throw IllegalArgumentException("Incorrect value of firstDayOfWeek: $firstDayOfWeek")
}

this.firstDayOfWeek = firstDayOfWeek
this.selectionMode = selectionMode
this.firstDayOfWeek = firstDayOfWeek
this.showYearSelectionView = showYearSelectionView
minMaxDatesRange = NullableDatesRange(dateFrom = minDate, dateTo = maxDate)

Expand Down

0 comments on commit af9287a

Please sign in to comment.