Publish Date Utils: code refactor.