class DayImpression implements Serializable {

    public void initAggregate(double[] aggregatedHCounts)
    {
        this.hours = new ArrayList<>();
        H0 h0t = new H0(aggregatedHCounts[0]);
        H1 h1t = new H1(aggregatedHCounts[1]);
        H2 h2t = new H2(aggregatedHCounts[2]);
        H3 h3t = new H3(aggregatedHCounts[3]);
        Impression impression = new Impression(h0t, h1t, h2t, h3t);
        hours.add(impression);
        for (int i = 0; i < 23; i++)
        {
            H0 h0tmp = new H0(0);
            H1 h1tmp = new H1(0);
            H2 h2tmp = new H2(0);
            H3 h3tmp = new H3(0);
            Impression impressionTmp =
                    new Impression(h0tmp, h1tmp, h2tmp, h3tmp);
            hours.add(impressionTmp);
        }
    }

    public  DayImpression(String date, List<Impression> hours);
    public  DayImpression();
    public  DayImpression(Double[] dayCounts);
    public  DayImpression(Object hoursMap);

}