SolarFluxCorrectionFactorCalculator { public static double computeFactorFor(ProductData.UTC startTime, ProductData.UTC endTime) { final ProductData.UTC centerUTC = getCenterUTC(startTime, endTime); return computeFactorFor(centerUTC); }  static double computeFactorFor(ProductData.UTC startTime, ProductData.UTC endTime); static double computeFactorFor(ProductData.UTC time); static ProductData.UTC getCenterUTC(ProductData.UTC start, ProductData.UTC end); static synchronized int getNumDaysInTheYear(int year);  }
@Test public void testSolFluxCorrFactor() { assertEquals(1.0351, SolarFluxCorrectionFactorCalculator.computeFactorFor(time1, time2), 1e-4); }