deprecate and move some date related methods into respective utility class