/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.time.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
ZoneId z = ZoneId.of( "America/Montreal" );
ZonedDateTime zdtStart = ZonedDateTime.now( z );
ZonedDateTime zdtStop = zdtStart.plusHours( 3 ).plusMinutes( 7 );
Duration d = Duration.between( zdtStart , zdtStop );
System.
out.
println( zdtStart
+ "/" + zdtStop
); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgppbXBvcnQgamF2YS50aW1lLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewogICAgICAgIFpvbmVJZCB6ID0gWm9uZUlkLm9mKCAiQW1lcmljYS9Nb250cmVhbCIgKTsKCQlab25lZERhdGVUaW1lIHpkdFN0YXJ0ID0gWm9uZWREYXRlVGltZS5ub3coIHogKTsKICAgICAgICBab25lZERhdGVUaW1lIHpkdFN0b3AgPSB6ZHRTdGFydC5wbHVzSG91cnMoIDMgKS5wbHVzTWludXRlcyggNyApOwoKICAgICAgICBEdXJhdGlvbiBkID0gRHVyYXRpb24uYmV0d2VlbiggemR0U3RhcnQgLCB6ZHRTdG9wICk7CgogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbiggemR0U3RhcnQgKyAiLyIgKyB6ZHRTdG9wICk7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCBkICk7Cgl9Cn0=