range support year,month...unit
add the function "toDate"
1. update the master source to my fork source
2. add the test for toDate , range by unit
Merge pull request #29 from pronebel/master

range support year,month...unit