/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.time.*;
import java.time.format.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String input
= "Friday, September 26, 2008 8:30 PM Eastern Daylight Time" ; DateTimeFormatter f = DateTimeFormatter.ofPattern( "EEEE, MMMM d, uuuu h:m a zzzz" );
f
= f.
withLocale( Locale.
US ); ZonedDateTime zdt = ZonedDateTime.parse( input , f );
ZoneId z = zdt.getZone();
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRpbWUuKjsKaW1wb3J0IGphdmEudGltZS5mb3JtYXQuKjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU3RyaW5nIGlucHV0ID0gIkZyaWRheSwgU2VwdGVtYmVyIDI2LCAyMDA4IDg6MzAgUE0gRWFzdGVybiBEYXlsaWdodCBUaW1lIiA7CgkJRGF0ZVRpbWVGb3JtYXR0ZXIgZiA9IERhdGVUaW1lRm9ybWF0dGVyLm9mUGF0dGVybiggIkVFRUUsIE1NTU0gZCwgdXV1dSBoOm0gYSB6enp6IiApOwoJCWYgPSBmLndpdGhMb2NhbGUoIExvY2FsZS5VUyApOwoJCVpvbmVkRGF0ZVRpbWUgemR0ID0gWm9uZWREYXRlVGltZS5wYXJzZSggaW5wdXQgLCBmICk7CgkJWm9uZUlkIHogPSB6ZHQuZ2V0Wm9uZSgpOwoJCQoJCVN5c3RlbS5vdXQucHJpbnRsbiggaW5wdXQgKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oIHpkdCApOwoJCVN5c3RlbS5vdXQucHJpbnRsbiggeiApOwoJfQp9