/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String dataJson
= "2013-01-08T20:11:48Z".
replaceAll("T",
" ").
replaceAll("Z",
"");
Date dataFormatada
= new Date(format.
parse(dataJson
).
getTime()); System.
out.
println(dataFormatada
); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRleHQuUGFyc2VFeGNlcHRpb247CmltcG9ydCBqYXZhLnRleHQuU2ltcGxlRGF0ZUZvcm1hdDsKaW1wb3J0IGphdmEudXRpbC5EYXRlOwoKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTdHJpbmcgZGF0YUpzb24gPSAiMjAxMy0wMS0wOFQyMDoxMTo0OFoiLnJlcGxhY2VBbGwoIlQiLCAiICIpLnJlcGxhY2VBbGwoIloiLCAiIik7CgkJU2ltcGxlRGF0ZUZvcm1hdCBmb3JtYXQgPSBuZXcgU2ltcGxlRGF0ZUZvcm1hdCgieXl5eS1tbS1kZCBISDptbTpzcyIpOwoKCQlEYXRlIGRhdGFGb3JtYXRhZGEgPSBuZXcgRGF0ZShmb3JtYXQucGFyc2UoZGF0YUpzb24pLmdldFRpbWUoKSk7CgkJU3lzdGVtLm91dC5wcmludGxuKGRhdGFGb3JtYXRhZGEpOwoJfQp9