Add method setRange() for changing time range.
Merge pull request #2 from Juhku/master

Add method setRange() for changing time range.