AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Wunderlist calendar view12/18/2023 setShowWeekNumber(boolean showWeekNumber):This method is used to show or hide the week number of CalendarView. tMinDate(1463918226920L) // set min date supported by this CalendarViewlong minDate= simpleCalendarView.getMinDate() // get min date supported by this CalendarViewĩ. CalendarView simpleCalendarView = (CalendarView) findViewById(R.id.simpleCalendarView) // get the reference of CalendarView This method returns long type value for minimal date supported by this CalendarView.īelow we firstly set the long value for the minimal date and then get the minimal value supported by the CalendarView. getMinDate(): This method is used to to get the minimal date supported by thisCalendarView in milliseconds since Janu00:00:00 in user’s preferred time zone. tMinDate(1463918226920L) // set min date supported by this CalendarViewĨ. setMinDate(long minDate):This method is used to to set the minimal date supported by this CalendarView in milliseconds since Janu00:00:00 in user’s preferred time zone.īelow we set the long value for minimal date supported by the CalendarView. tMaxDate(1463918226920L) // set max date supported by this CalendarViewlong maxDate= simpleCalendarView.getMaxDate() // get max date supported by this CalendarViewħ. This method returns long type value for maximal date supported by this CalendarView.īelow we firstly set the long value for the maximal date and then get the maximal value supported by the CalendarView. getMaxDate(): This method is used to get the maximal date supported by this CalendarView in milliseconds since Janu00:00:00 in user’s preferred time zone. tMaxDate(1463918226920L) // set 22nd May 2016 as max date supported by this CalendarViewĦ. setMaxDate(long maxDate): This method is used to set the maximal date supported by thisCalendarView in milliseconds since Janu00:00:00 in user’s preferred time zone.īelow we set the long value for maximal date supported by the CalendarView. Int firstDayOfWeek= simpleCalendarView.getFirstDayOfWeek() // get first day of the weekĥ. This method returns an int type value.īelow we get the first day of the week of CalendarView. getFirstDayOfWeek(): This method is used to get the first day of week. tFirstDayOfWeek(2) // set Monday as the first day of the weekĤ. setFirstDayOfWeek(int firstDayOfWeek): This method is used to set the first day of the week.īelow we set the 2 value means Monday as the first day of the week. tDate(1463918226920L) // set selected date in millisecondsģ. setDate(long date):This method is used to set the selected date in milliseconds since Janu00:00:00 in user’s preferred time zone.īelow we set the selected date in milliseconds for a CalendarView. Long selectedDate = simpleCalendarView.getDate() // get selected date in millisecondsĢ. This method returns long type value for selected date.īelow we get the selected of CalendarView in milliseconds. getDate():This method is used to get the selected date of CalendarView in milliseconds since Janu00:00:00 in user’s preferred time zone. Let’s we discuss some important methods of Calendar View that may be called in order to manage the CalendarView.ġ.
0 Comments
Read More
Leave a Reply. |