/* 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.* ;
import java.time.zone.* ;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		ZoneId z = ZoneId.of( "America/Montreal" ) ;
		ZonedDateTime zdt = ZonedDateTime.of( 2010 , 10 , 12 , 15 , 56 , 0 , 0 , z ) ;
		
		System.out.println( "zdt.toString(): " + zdt ) ;
		
		ZonedDateTime zdt2 = ZonedDateTime.parse( "2010-10-12T15:56-04:00[America/Montreal]" ) ;
		boolean sameZdts = zdt.equals ( zdt2 ) ;
		
		System.out.println( "sameZdts: " + sameZdts ) ;
	}
}