Here you can find the source of getUTCFormat()
private static SimpleDateFormat getUTCFormat()
//package com.java2s; import java.text.SimpleDateFormat; public class Main { /**//w w w .ja v a 2 s. co m * Returns instance of a SimpleDateFormat where the format has been set to * yyyy-DDDThh:mm:ss.SSS, GMT * * @return a SimpleDateFormat object reference */ private static SimpleDateFormat getUTCFormat() { SimpleDateFormat format = new SimpleDateFormat("yyyy'-'DDD'T'HH:mm:ss.SSS"); format.setLenient(false); return format; } }