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

import java.util.*;
import java.lang.*;
import java.io.*;

import java.time.* ;
import java.time.temporal.* ;
import java.time.format.* ;

/* 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() ;

    ZoneId z = ZoneId.of( "Asia/Kuala_Lumpur" ) ; // Or "Asia/Kuching", etc.
    ZonedDateTime zdt = instant.atZone( z ) ;  // Same moment, different wall-clock time.

   String output = zdt.toString() ;  // YYYY-MM-DDTHH:MM:SS.SSSSSSSSS[tz]

    Locale l = Locale.CANADA_FRENCH ; 
    DateTimeFormatter f = DateTimeFormatter.ofLocalizedDateTime( FormatStyle.FULL ).withLocale( l );
    String outputLocalized = zdt.format( f );
    
    System.out.println( "instant.toString(): " + instant ) ;
    System.out.println( "output: " + output ) ;
    System.out.println( "outputLocalized (always Locale.US on IdeOne.com): " + outputLocalized ) ;
    
    
	}
}