/* 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
{
{
String dataUS
= "2015-02-03 15:37:00";
System.
out.
println(newFormat.
format(oldFormat.
parse(dataUS
))); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRleHQuKjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU3RyaW5nIGRhdGFVUyA9ICIyMDE1LTAyLTAzIDE1OjM3OjAwIjsKCQkKCSAgICBTaW1wbGVEYXRlRm9ybWF0IG9sZEZvcm1hdCA9ICBuZXcgU2ltcGxlRGF0ZUZvcm1hdCgieXl5eS1NTS1kZCBISDptbTpzcyIpOwoJICAgIFNpbXBsZURhdGVGb3JtYXQgbmV3Rm9ybWF0ID0gIG5ldyBTaW1wbGVEYXRlRm9ybWF0KCJkZC9NTS95eXl5IEhIOm1tOnNzIik7CgkKCQkKCQlTeXN0ZW0ub3V0LnByaW50bG4obmV3Rm9ybWF0LmZvcm1hdChvbGRGb3JtYXQucGFyc2UoZGF0YVVTKSkpOwoJfQp9