Here you can find the source of toLocalDate(Date gmtDate)
public final static Date toLocalDate(Date gmtDate)
//package com.java2s; import java.util.Date; public class Main { public final static Date toLocalDate(Date gmtDate) { return new Date(); }//from w ww .j a va 2 s .c o m }