Added DateUtil class to handle time in xml