Here you can find the source of toZonedDateTime(Date utilDate)
public static ZonedDateTime toZonedDateTime(Date utilDate)
//package com.java2s; //License from project: Apache License import java.time.ZoneId; import java.time.ZonedDateTime; import java.util.Date; public class Main { public static ZonedDateTime toZonedDateTime(Date utilDate) { if (utilDate == null) { return null; }//from w w w .j a v a2 s . c om final ZoneId systemDefault = ZoneId.systemDefault(); return ZonedDateTime.ofInstant(utilDate.toInstant(), systemDefault); } }