    @Test
    public void convertLocalToDTSafely() {

        DateTimeZone.setDefault(DateTimeZone.forID("America/Los_Angeles"));

        Assert.assertEquals(LocalDateTime.parse("2018-03-11T03:04:00").toDateTime(DateTimeZone.getDefault()),
                Utils.convertLocalToDTSafely(LocalDateTime.parse("2018-03-11T02:04:00")));

        Assert.assertEquals(LocalDateTime.parse("2018-03-11T03:04:00").toDateTime(DateTimeZone.getDefault()),
                Utils.convertLocalToDTSafely(LocalDateTime.parse("2018-03-11T02:04:00")));

        Assert.assertEquals(LocalDateTime.parse("2018-03-11T03:04:00").toDateTime(DateTimeZone.getDefault()),
                Utils.convertLocalToDTSafely(LocalDateTime.parse("2018-03-11T02:34:00")));
    }