Sets the selection for a month calendar control to a specified date range.
public void setSelectionRange( Time date1, Time date2 )
public void setSelectionRange( SelectionRange range )
date1
A Time object that represents the first date in the selection range.
date2
A Time object that represents the last date in the selection range.
range
A SelectionRange object that represents the new selection range. The selection range will not be set if it exceeds the maximum selection count, or if either element in the range array is less than 0.
The selection range will not be set if it exceeds the maximum selection count.
See Also setSelectionStart, setSelectionEnd , getSelectionRange