### Question:
WorldView2ESAMetadata extends XmlMetadata { @Override public ProductData.UTC getProductStartTime() { ProductData.UTC date = null; String value = null; try { value = getAttributeValue(WorldView2ESAConstants.PATH_START_TIME, null); } catch (Exception e) { warn(MISSING_ELEMENT_WARNING, WorldView2ESAConstants.PATH_START_TIME); } if (value != null && !value.isEmpty()) { date = DateHelper.parseDate(value, WorldView2ESAConstants.WORLDVIEW2_UTC_DATE_FORMAT); } return date; } WorldView2ESAMetadata(String name); @Override int getNumBands(); @Override String getProductName(); @Override String getFormatName(); @Override int getRasterWidth(); @Override int getRasterHeight(); @Override String[] getRasterFileNames(); @Override ProductData.UTC getProductStartTime(); @Override ProductData.UTC getProductEndTime(); @Override ProductData.UTC getCenterTime(); @Override String getProductDescription(); @Override String getFileName(); @Override String getMetadataProfile();  }### Answer:
@Test public void testGetProductStartTime() throws Exception { SimpleDateFormat sdf = new SimpleDateFormat(WorldView2ESAConstants.WORLDVIEW2_UTC_DATE_FORMAT); sdf.setTimeZone(TimeZone.getTimeZone("UTC")); Date time = sdf.parse("2011-05-25T09:53:46"); assertEquals(time.getTime(), metadata.getProductStartTime().getAsDate().getTime()); }