parse date parameters by means of the own class