Removed code duplication in methods `dateFrom...`
Merge pull request #15 from yas375/remove-some-code-dups

Removed some code duplication in methods `dateFrom...`