Change type of min and max range values from NSDate to double

it decreases number of conversions and universalize API