Here you can find the source of dateToGregorianCalendar(Date date)
public static GregorianCalendar dateToGregorianCalendar(Date date)
//package com.java2s; //License from project: Apache License import java.util.*; public class Main { public static GregorianCalendar dateToGregorianCalendar(Date date) { if (date == null) return null; GregorianCalendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT+09:00"), Locale.KOREAN); cal.setTime(date);//from ww w. j av a 2 s. c o m return cal; } }