/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.time.* ;
import java.time.format.* ;
import java.time.temporal.* ;
import java.time.chrono.* ;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String input
= "2019-11-14T00:55:31.820Z" ; Instant instant = Instant.parse( input ) ;
ZoneId zMontreal = ZoneId.of( "America/Montreal" ) ;
ZonedDateTime zdtMontreal = instant.atZone( zMontreal ) ;
ZoneId zTunis = ZoneId.of( "Africa/Tunis" ) ;
ZonedDateTime zdtTunis = instant.atZone( zTunis ) ;
System.
out.
println( "instant.toString(): " + instant
) ; System.
out.
println( "zdtMontreal.toString(): " + zdtMontreal
) ; System.
out.
println( "zdtTunis.toString(): " + zdtTunis
) ; }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgppbXBvcnQgamF2YS50aW1lLiogOwppbXBvcnQgamF2YS50aW1lLmZvcm1hdC4qIDsKaW1wb3J0IGphdmEudGltZS50ZW1wb3JhbC4qIDsKaW1wb3J0IGphdmEudGltZS5jaHJvbm8uKiA7CgoKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTdHJpbmcgaW5wdXQgPSAiMjAxOS0xMS0xNFQwMDo1NTozMS44MjBaIiA7CgkJSW5zdGFudCBpbnN0YW50ID0gSW5zdGFudC5wYXJzZSggaW5wdXQgKSA7CgkJCgkJWm9uZUlkIHpNb250cmVhbCA9IFpvbmVJZC5vZiggIkFtZXJpY2E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