Support js date objects and DateTime objects as first and last date
Moved type check from DateParse to main file
Merge pull request #87 from omahlama/support-date-objects-for-range

Support js date objects as first and last date