### Question:
TimeUtil { public static GregorianCalendar createUtcCalendar() { return new GregorianCalendar(TimeZone.getTimeZone("UTC"), Locale.ENGLISH); } private  TimeUtil(); static String formatCcsdsUtcFormat(Date time); static String formatCcsdsUtcMillisFormat(Date time); static Date parseCcsdsUtcFormat(String timeString); static String formatIsoUtcFormat(Date time); static Date parseInsituFileNameDateFormat(String timeString); static String formatInsituFilenameFormat(Date time); static Date parseShortUtcFormat(String timeString); static String formatShortUtcFormat(Date time); static Date julianDateToDate(double julianDate); static double dateToSecondsSinceEpoch(Date date); static double julianDateToSecondsSinceEpoch(double julianDate); static double toJulianDate(Date date); static Date secondsSince1981ToDate(double secondsSince1981); static long toSecondsSince1978(Date time); static Date secondsSince1978ToDate(double secondsSince1978); static double secondsSince1981ToSecondsSinceEpoch(double secondsSince1981); static double millisToSecondsSinceEpoch(long millis); static int intMillisToSecondsSinceEpoch(long millis); static boolean checkTimeOverlap(Date time, Date start, Date end, double timeDelta); static double getTimeDifferenceInSeconds(Date d, Date d2); static Date getCenterTime(Date startTime, Date endTime); static double getTimeRadius(Date startTime, Date endTime); static Calendar createCalendarAtBeginningOfYear(int year); static Date getBeginningOfDay(Date day); static Date getEndOfDay(Date day); static GregorianCalendar createUtcCalendar(); static GregorianCalendar createUtcCalendar(Date date); static int getYear(Date date); static int getDayOfYear(Date date); static int getMonth(Date date); static Date getBeginOfMonth(Date date); static Date getEndOfMonth(Date date); static final double EPOCH_JD; static final double MILLIS_PER_DAY; static final long MILLIS_1978; static final long MILLIS_1981; static final double SECONDS_PER_DAY; }### Answer:
@Test public void testCreateUtcCalendarWithDate() { final Date date = new Date(69787284542L); final Calendar calendar = TimeUtil.createUtcCalendar(date); assertNotNull(calendar); assertEquals(1972, calendar.get(Calendar.YEAR)); assertEquals(2, calendar.get(Calendar.MONTH)); assertEquals(18, calendar.get(Calendar.DAY_OF_MONTH)); assertEquals(17, calendar.get(Calendar.HOUR_OF_DAY)); assertEquals(21, calendar.get(Calendar.MINUTE)); assertEquals(24, calendar.get(Calendar.SECOND)); }