/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.time.*;
import java.time.temporal.ChronoUnit;

/* 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
	{
		Instant instant = Instant.now();
        Instant later = instant.plus(1, ChronoUnit.HOURS);
        ZoneId z = ZoneId.of( "America/Montreal" ) ;
        ZonedDateTime zdt = instant.atZone( z ) ; 
        if (instant.equals(zdt.toInstant()))
           System.out.println("same moment");
        ZonedDateTime zdtLater = zdt.plusHours( 1 ) ;
        if (later.equals(zdtLater.toInstant()))
           System.out.println("later same moment");       
	}
}