### Question:
AlosAV2Metadata extends XmlMetadata { @Override public ProductData.UTC getProductEndTime() { ProductData.UTC date = null; String value = getAttributeValue(AlosAV2Constants.PATH_TIME_LAST_LINE, null); if (value != null && !value.isEmpty()) { date = DateHelper.parseDate(value, AlosAV2Constants.ALOSAV2_UTC_DATE_FORMAT); } return date; } AlosAV2Metadata(String name); @Override String getFileName(); @Override String getProductName(); @Override String getProductDescription(); @Override String getFormatName(); @Override String getMetadataProfile(); @Override int getRasterWidth(); @Override int getRasterHeight(); @Override String[] getRasterFileNames(); @Override ProductData.UTC getProductStartTime(); @Override ProductData.UTC getProductEndTime(); String[] getBandNames(); Map<String, String> getBandUnits(); @Override int getNumBands(); int getNoDataValue(); Color getNoDataColor(); int getSaturatedPixelValue(); Color getSaturatedColor(); ProductData.UTC getCenterTime(); float getGain(final String bandName); float getBias(final String bandName); String getProcessingLevel(); InsertionPoint[] getGeopositionPoints(); int getPixelDataType();  }### Answer:
@Test public void testGetEndTime() throws Exception { SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS"); dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); Date time = dateFormat.parse("2008-07-15 18:17:48.124"); assertEquals(time.getTime(), metadata.getProductEndTime().getAsDate().getTime()); assertEquals(123521, metadata.getProductEndTime().getMicroSecondsFraction()); }