### Question:
TimeStampUtil { public static long getSecond(DateTime dateTime) { return convertToMicroSeconds(dateTime.withTime(dateTime.get(DateTimeFieldType.hourOfDay()), dateTime.get(DateTimeFieldType.minuteOfHour()), dateTime.get(DateTimeFieldType.secondOfMinute()), 0)); }  static long getDay(DateTime dateTime); static long getHour(DateTime dateTime); static long getMinute(DateTime dateTime); static long getSecond(DateTime dateTime); static long getMonth(DateTime dateTime); static long getDayOfWeek(DateTime dateTime,int week); static long getYear(DateTime dateTime); static DateTime getUTCDateTime(Int8Datum int8Datum); static long convertToMicroSeconds(DateTime dateTime);  }### Answer:
@Test public void testGetSecond() { assertEquals(DateTime.parse("2014-04-18 00:15:25",fmt.withZoneUTC()).getMillis() * 1000, TimeStampUtil.getSecond(TEST_DATETIME)); }