MonthCalendar.getDisplayRange

Overview | Methods | This Package | All Packages

MonthCalendar.getDisplayRange

Retrieves the starting and ending dates of the date range displayed in the control.

Syntax

public SelectionRange getDisplayRange( boolean visible )

Parameters

visible

Set to true to include only the dates in fully displayed months in the returned date range. Set to false to include dates from the partially displayed months at the beginning and end of the visible range in the returned date range.

Return Value

Returns a SelectionRange object that contains the starting and ending dates in the displayed range.