@@ -0,0 +1,1080 @@
+package io.teiler.server.util;%0D%0A%0D%0Aimport java.sql.Timestamp;%0D%0Aimport java.time.LocalDateTime;%0D%0A%0D%0Aimport org.junit.Assert;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Apublic class TimeUtilTest %7B%0D%0A    %0D%0A    private static final LocalDateTime C99_DATETIME = LocalDateTime.of(1999, 12, 1, 11, 11, 11);%0D%0A    private static final long MILLIS_SINCE_C99 = 944043071000l;%0D%0A    %0D%0A    @Test%0D%0A    public void testConvertToTimestamp() %7B%0D%0A        Timestamp timestamp = new Timestamp(MILLIS_SINCE_C99);%0D%0A        Assert.assertEquals(timestamp, TimeUtil.convertToTimestamp(C99_DATETIME));%0D%0A    %7D%0D%0A    %0D%0A    @Test%0D%0A    public void testConvertToTimestampNull() %7B%0D%0A        Assert.assertNull(TimeUtil.convertToTimestamp(null));%0D%0A    %7D%0D%0A    %0D%0A    @Test%0D%0A    public void testConvertToLocalDateTime() %7B%0D%0A        Timestamp timestamp = new Timestamp(MILLIS_SINCE_C99);%0D%0A        Assert.assertEquals(C99_DATETIME, TimeUtil.convertToLocalDateTime(timestamp));%0D%0A    %7D%0D%0A    %0D%0A    @Test%0D%0A    public void testConvertToLocalDateTimeNull() %7B%0D%0A        Assert.assertNull(TimeUtil.convertToLocalDateTime(null));%0D%0A    %7D%0D%0A    %0D%0A    %0D%0A%7D%0D%0A

add test for TimeUtil