added DateUtils class and its belonging test class