Here you can find the source of convertToUserTimeZone(Instant timeInSystem, ZoneId userZoneId)
public static ZonedDateTime convertToUserTimeZone(Instant timeInSystem, ZoneId userZoneId)
//package com.java2s; //License from project: Open Source License import java.time.*; public class Main { public static ZonedDateTime convertToUserTimeZone(Instant timeInSystem, ZoneId userZoneId) { return timeInSystem.atZone(userZoneId); }// w w w . ja v a 2 s .c om }