@Test public void testInstantToUTCDateTime() { Instant instant = Instant.ofEpochSecond(INSTANT_IN_EPOCH_SECONDS); assertEquals(ZonedDateTime.ofInstant(instant, UTC), DateUtil.instantToUTCDateTime(instant)); }
public static ZonedDateTime instantToUTCDateTime(Instant epochSecond) { return ZonedDateTime.ofInstant(epochSecond, ZoneOffset.UTC); }
DateUtil { public static ZonedDateTime instantToUTCDateTime(Instant epochSecond) { return ZonedDateTime.ofInstant(epochSecond, ZoneOffset.UTC); } }
DateUtil { public static ZonedDateTime instantToUTCDateTime(Instant epochSecond) { return ZonedDateTime.ofInstant(epochSecond, ZoneOffset.UTC); }  }
DateUtil { public static ZonedDateTime instantToUTCDateTime(Instant epochSecond) { return ZonedDateTime.ofInstant(epochSecond, ZoneOffset.UTC); }  static Instant truncatedToDay(Instant date); static Instant truncatedToWeek(Instant date); static Instant snapToSeconds(Instant date, int seconds); static Instant truncatedToSeconds(Instant date); static String epochSecondToString(long metricTimestamp); static Instant epochSecondToInstant(long metricTimestamp); static boolean isBetweenHours(int hour, int startHour, int endHour); static boolean crossesMidnight(int startHour, int endHour); static ZonedDateTime instantToUTCDateTime(Instant epochSecond); }
DateUtil { public static ZonedDateTime instantToUTCDateTime(Instant epochSecond) { return ZonedDateTime.ofInstant(epochSecond, ZoneOffset.UTC); }  static Instant truncatedToDay(Instant date); static Instant truncatedToWeek(Instant date); static Instant snapToSeconds(Instant date, int seconds); static Instant truncatedToSeconds(Instant date); static String epochSecondToString(long metricTimestamp); static Instant epochSecondToInstant(long metricTimestamp); static boolean isBetweenHours(int hour, int startHour, int endHour); static boolean crossesMidnight(int startHour, int endHour); static ZonedDateTime instantToUTCDateTime(Instant epochSecond); static final int MIDNIGHT_HOUR; }