class SolarFluxCorrectionFactorCalculator {

    public static ProductData.UTC getCenterUTC(ProductData.UTC start, ProductData.UTC end) {
        final long startMillis = start.getAsDate().getTime();
        final long endMillis = end.getAsDate().getTime();
        final long diff = endMillis - startMillis;
        final Date centerDate = new Date(startMillis + diff / 2);
        return ProductData.UTC.create(centerDate, 0);
    }

}