@Test
void testEventTimeToString_PrimitiveDouble_MinSupportedValue() {

    // Use long here to avoid precision errors; value will be cast to double at point of use
    long minSupportedTime = -62135596800000L;
    assertEquals("0001-01-01 00:00:00.000", EventUtil.eventTimeToString((double) minSupportedTime));
    assertThrows(IllegalArgumentException.class, () -> EventUtil.eventTimeToString((double) (minSupportedTime - 1)));
}