/* 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
	{

        // Or, Instant.now() for current moment in UTC.
        Instant instant = Instant.parse( "2017-01-23T12:34:56.123456789Z" ) ;
        ZoneId z = ZoneId.of( "Asia/Singapore" ) ;
        ZonedDateTime zdt = instant.atZone( z ) ;  // Same simultaneous moment, same point on the timeline.

        System.out.println( "instant.toString(): " + instant ) ;
        System.out.println( "zdt.toString(): " + zdt ) ;
	}
}