selectable abstract method

bool selectable(
  1. DateTime date
)

Returns true if the given date can be selected/unselected.

Note

It is unsafe for this function to have side effects since it may be called more than once for a single date. As it is called frequently, it should also not be computationally expensive.

Implementation

bool selectable(DateTime date);