Is there something wrong with the code - does it not return the output you expect?
One thing you could improve: Currently you are creating a new SimpleDateFormat inside the loop (line 7), so a new SimpleDateFormat object will be created for each iteration. That's not necessary. Just create it once, outside the loop, and reuse it inside the loop.
DateFormatUtils is not a standard
Java class (it's probably a class somewhere else in your own project), so I can't say anything about that.