GregorianCalendar: setTime(Date date)
import java.util.Date; import java.util.GregorianCalendar; public class Main { public static void main(String[] a) { Date date = new Date(); GregorianCalendar calendar = new GregorianCalendar(); calendar.setTime(date); } }