Calendar: Fix select() method.
Calendar: Update isInRange() conditions.
Merge pull request #1058 from pazguille/v1.0

Calendar: Update isInRange() conditions.