/* 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
{
	public static void main (String[] args) throws java.lang.Exception
	{
		System.out.println( Runtime.version() ) ;
		
		Instant instant = Instant.ofEpochMilli( -1_118_625_572_000L ) ;  // Always has an offset of zero hours-minutes-seconds from UTC.
		
		ZoneId zLosAngeles = ZoneId.of( "America/Los_Angeles" ) ;
		ZoneId zTokyo = ZoneId.of( "Asia/Tokyo" ) ;
		
		ZonedDateTime zdtLosAngeles = instant.atZone( zLosAngeles ) ;
		ZonedDateTime zdtTokyo = instant.atZone( zTokyo ) ;
		
		System.out.println( "Same moment, different dates." );
		System.out.println( zdtLosAngeles ) ;
		System.out.println( zdtTokyo ) ;
	}
}