separated Date functions in DateUtil class