/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
if (data == null || data.equals(""))
return null;
try {
date
= (java.
util.
Date)formatter.
parse(data
); throw e;
}
return formatter.format(date);
}
{
System.
out.
println(formataData
(hora
)); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRleHQuKjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJCglwdWJsaWMgc3RhdGljIFN0cmluZyBmb3JtYXRhRGF0YShTdHJpbmcgZGF0YSkgdGhyb3dzIEV4Y2VwdGlvbiB7CiAgICBpZiAoZGF0YSA9PSBudWxsIHx8IGRhdGEuZXF1YWxzKCIiKSkKICAgICAgICByZXR1cm4gbnVsbDsKICAgIERhdGUgZGF0ZSA9IG51bGw7CiAgICBEYXRlRm9ybWF0IGZvcm1hdHRlcjsKICAgIHRyeSB7CiAgICAgICAgZm9ybWF0dGVyID0gbmV3IFNpbXBsZURhdGVGb3JtYXQoIkhIOm1tOnNzIik7CiAgICAgICAgZGF0ZSA9IChqYXZhLnV0aWwuRGF0ZSlmb3JtYXR0ZXIucGFyc2UoZGF0YSk7CiAgICB9IGNhdGNoIChQYXJzZUV4Y2VwdGlvbiBlKSB7CiAgICAgICAgdGhyb3cgZTsKICAgIH0KICAgIHJldHVybiBmb3JtYXR0ZXIuZm9ybWF0KGRhdGUpOwp9CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVN0cmluZyBob3JhID0gIjEzOjMyOjAwIjsKCQkKCQlTeXN0ZW0ub3V0LnByaW50bG4oZm9ybWF0YURhdGEoaG9yYSkpOwoJfQp9