/**@class android.widget.CalendarView @extends android.widget.FrameLayout This class is a calendar widget for displaying and selecting dates. The range of dates supported by this calendar is configurable. <p> The exact appearance and interaction model of this widget may vary between OS versions and themes (e.g. Holo versus Material), but in general a user can select a date by tapping on it and can scroll or fling the calendar to a desired date. @attr ref android.R.styleable#CalendarView_showWeekNumber @attr ref android.R.styleable#CalendarView_firstDayOfWeek @attr ref android.R.styleable#CalendarView_minDate @attr ref android.R.styleable#CalendarView_maxDate @attr ref android.R.styleable#CalendarView_shownWeekCount @attr ref android.R.styleable#CalendarView_selectedWeekBackgroundColor @attr ref android.R.styleable#CalendarView_focusedMonthDateColor @attr ref android.R.styleable#CalendarView_unfocusedMonthDateColor @attr ref android.R.styleable#CalendarView_weekNumberColor @attr ref android.R.styleable#CalendarView_weekSeparatorLineColor @attr ref android.R.styleable#CalendarView_selectedDateVerticalBar @attr ref android.R.styleable#CalendarView_weekDayTextAppearance @attr ref android.R.styleable#CalendarView_dateTextAppearance */ var CalendarView = { /**Sets the number of weeks to be shown. @param {Number} count The shown week count. @attr ref android.R.styleable#CalendarView_shownWeekCount @deprecated No longer used by Material-style CalendarView. */ setShownWeekCount : function( ) {}, /**Gets the number of weeks to be shown. @return {Number} The shown week count. @attr ref android.R.styleable#CalendarView_shownWeekCount @deprecated No longer used by Material-style CalendarView. */ getShownWeekCount : function( ) {}, /**Sets the background color for the selected week. @param {Number} color The week background color. @attr ref android.R.styleable#CalendarView_selectedWeekBackgroundColor @deprecated No longer used by Material-style CalendarView. */ setSelectedWeekBackgroundColor : function( ) {}, /**Gets the background color for the selected week. @return {Number} The week background color. @attr ref android.R.styleable#CalendarView_selectedWeekBackgroundColor @deprecated No longer used by Material-style CalendarView. */ getSelectedWeekBackgroundColor : function( ) {}, /**Sets the color for the dates of the focused month. @param {Number} color The focused month date color. @attr ref android.R.styleable#CalendarView_focusedMonthDateColor @deprecated No longer used by Material-style CalendarView. */ setFocusedMonthDateColor : function( ) {}, /**Gets the color for the dates in the focused month. @return {Number} The focused month date color. @attr ref android.R.styleable#CalendarView_focusedMonthDateColor @deprecated No longer used by Material-style CalendarView. */ getFocusedMonthDateColor : function( ) {}, /**Sets the color for the dates of a not focused month. @param {Number} color A not focused month date color. @attr ref android.R.styleable#CalendarView_unfocusedMonthDateColor @deprecated No longer used by Material-style CalendarView. */ setUnfocusedMonthDateColor : function( ) {}, /**Gets the color for the dates in a not focused month. @return {Number} A not focused month date color. @attr ref android.R.styleable#CalendarView_unfocusedMonthDateColor @deprecated No longer used by Material-style CalendarView. */ getUnfocusedMonthDateColor : function( ) {}, /**Sets the color for the week numbers. @param {Number} color The week number color. @attr ref android.R.styleable#CalendarView_weekNumberColor @deprecated No longer used by Material-style CalendarView. */ setWeekNumberColor : function( ) {}, /**Gets the color for the week numbers. @return {Number} The week number color. @attr ref android.R.styleable#CalendarView_weekNumberColor @deprecated No longer used by Material-style CalendarView. */ getWeekNumberColor : function( ) {}, /**Sets the color for the separator line between weeks. @param {Number} color The week separator color. @attr ref android.R.styleable#CalendarView_weekSeparatorLineColor @deprecated No longer used by Material-style CalendarView. */ setWeekSeparatorLineColor : function( ) {}, /**Gets the color for the separator line between weeks. @return {Number} The week separator color. @attr ref android.R.styleable#CalendarView_weekSeparatorLineColor @deprecated No longer used by Material-style CalendarView. */ getWeekSeparatorLineColor : function( ) {}, /**Sets the drawable for the vertical bar shown at the beginning and at the end of the selected date. @param {Number} resourceId The vertical bar drawable resource id. @attr ref android.R.styleable#CalendarView_selectedDateVerticalBar @deprecated No longer used by Material-style CalendarView. */ setSelectedDateVerticalBar : function( ) {}, /**Sets the drawable for the vertical bar shown at the beginning and at the end of the selected date. @param {Object {Drawable}} drawable The vertical bar drawable. @attr ref android.R.styleable#CalendarView_selectedDateVerticalBar @deprecated No longer used by Material-style CalendarView. */ setSelectedDateVerticalBar : function( ) {}, /**Gets the drawable for the vertical bar shown at the beginning and at the end of the selected date. @return {Object {android.graphics.drawable.Drawable}} The vertical bar drawable. @deprecated No longer used by Material-style CalendarView. */ getSelectedDateVerticalBar : function( ) {}, /**Sets the text appearance for the week day abbreviation of the calendar header. @param {Number} resourceId The text appearance resource id. @attr ref android.R.styleable#CalendarView_weekDayTextAppearance */ setWeekDayTextAppearance : function( ) {}, /**Gets the text appearance for the week day abbreviation of the calendar header. @return {Number} The text appearance resource id. @attr ref android.R.styleable#CalendarView_weekDayTextAppearance */ getWeekDayTextAppearance : function( ) {}, /**Sets the text appearance for the calendar dates. @param {Number} resourceId The text appearance resource id. @attr ref android.R.styleable#CalendarView_dateTextAppearance */ setDateTextAppearance : function( ) {}, /**Gets the text appearance for the calendar dates. @return {Number} The text appearance resource id. @attr ref android.R.styleable#CalendarView_dateTextAppearance */ getDateTextAppearance : function( ) {}, /**Gets the minimal date supported by this {@link android.widget.CalendarView} in milliseconds since January 1, 1970 00:00:00 in {@link TimeZone#getDefault()} time zone. <p> Note: The default minimal date is 01/01/1900. <p> @return {Number} The minimal supported date. @attr ref android.R.styleable#CalendarView_minDate */ getMinDate : function( ) {}, /**Sets the minimal date supported by this {@link android.widget.CalendarView} in milliseconds since January 1, 1970 00:00:00 in {@link TimeZone#getDefault()} time zone. @param {Number} minDate The minimal supported date. @attr ref android.R.styleable#CalendarView_minDate */ setMinDate : function( ) {}, /**Gets the maximal date supported by this {@link android.widget.CalendarView} in milliseconds since January 1, 1970 00:00:00 in {@link TimeZone#getDefault()} time zone. <p> Note: The default maximal date is 01/01/2100. <p> @return {Number} The maximal supported date. @attr ref android.R.styleable#CalendarView_maxDate */ getMaxDate : function( ) {}, /**Sets the maximal date supported by this {@link android.widget.CalendarView} in milliseconds since January 1, 1970 00:00:00 in {@link TimeZone#getDefault()} time zone. @param {Number} maxDate The maximal supported date. @attr ref android.R.styleable#CalendarView_maxDate */ setMaxDate : function( ) {}, /**Sets whether to show the week number. @param {Boolean} showWeekNumber True to show the week number. @deprecated No longer used by Material-style CalendarView. @attr ref android.R.styleable#CalendarView_showWeekNumber */ setShowWeekNumber : function( ) {}, /**Gets whether to show the week number. @return {Boolean} True if showing the week number. @deprecated No longer used by Material-style CalendarView. @attr ref android.R.styleable#CalendarView_showWeekNumber */ getShowWeekNumber : function( ) {}, /**Gets the first day of week. @return {Number} The first day of the week conforming to the {@link CalendarView} APIs. @see Calendar#MONDAY @see Calendar#TUESDAY @see Calendar#WEDNESDAY @see Calendar#THURSDAY @see Calendar#FRIDAY @see Calendar#SATURDAY @see Calendar#SUNDAY @attr ref android.R.styleable#CalendarView_firstDayOfWeek */ getFirstDayOfWeek : function( ) {}, /**Sets the first day of week. @param {Number} firstDayOfWeek The first day of the week conforming to the {@link CalendarView} APIs. @see Calendar#MONDAY @see Calendar#TUESDAY @see Calendar#WEDNESDAY @see Calendar#THURSDAY @see Calendar#FRIDAY @see Calendar#SATURDAY @see Calendar#SUNDAY @attr ref android.R.styleable#CalendarView_firstDayOfWeek */ setFirstDayOfWeek : function( ) {}, /**Sets the listener to be notified upon selected date change. @param {Object {CalendarView.OnDateChangeListener}} listener The listener to be notified. */ setOnDateChangeListener : function( ) {}, /**Gets the selected date in milliseconds since January 1, 1970 00:00:00 in {@link TimeZone#getDefault()} time zone. @return {Number} The selected date. */ getDate : function( ) {}, /**Sets the selected date in milliseconds since January 1, 1970 00:00:00 in {@link TimeZone#getDefault()} time zone. @param {Number} date The selected date. @throws IllegalArgumentException of the provided date is before the minimal or after the maximal date. @see #setDate(long, boolean, boolean) @see #setMinDate(long) @see #setMaxDate(long) */ setDate : function( ) {}, /**Sets the selected date in milliseconds since January 1, 1970 00:00:00 in {@link TimeZone#getDefault()} time zone. @param {Number} date The date. @param {Boolean} animate Whether to animate the scroll to the current date. @param {Boolean} center Whether to center the current date even if it is already visible. @throws IllegalArgumentException of the provided date is before the minimal or after the maximal date. @see #setMinDate(long) @see #setMaxDate(long) */ setDate : function( ) {}, /**Retrieves the screen bounds for the specific date in the coordinate system of this view. If the passed date is being currently displayed, this method returns true and the caller can query the fields of the passed {@link Rect} object. Otherwise the method returns false and does not touch the passed {@link Rect} object. @hide */ getBoundsForDate : function( ) {}, /** */ getAccessibilityClassName : function( ) {}, /**Utility method for the date format used by CalendarView's min/max date. @hide Use only as directed. For internal use only. */ parseDate : function( ) {}, };