EqualizationAlgorithm { long getJulianDate() { return julianDate; } EqualizationAlgorithm(Product product, ReprocessingVersion version);  EqualizationAlgorithm(ProductData.UTC utc, EqualizationLUT equalizationLUT); double performEqualization(double value, int spectralIndex, int detectorIndex);  }
@Test public void testGetJulianDate() throws ParseException, IOException { ProductData.UTC utc = ProductData.UTC.parse("12-10-2006", "dd-MM-yyyy"); EqualizationAlgorithm algorithm = new EqualizationAlgorithm(utc, new EqualizationLUT(new Reader[0])); long expectedJD = EqualizationAlgorithm.toJulianDay(2006, 9, 12) - EqualizationAlgorithm.toJulianDay(2002, 4, 1); assertEquals(expectedJD, algorithm.getJulianDate()); }