@Test
public void testGetDate()
{

    LocalDateTime time = LocalDateTime.of( 2012, 1, 10, 10, 5 );
    Date date = DateUtils.getDate( time );
    assertEquals( time.toInstant( ZoneOffset.UTC ).toEpochMilli(), date.getTime() );
}