Added the MinMaxDateActivity to the sample project for a testing.
Added a constructor from a calendar. Fixed a logic of inactive days calculation.