class DayImpression implements Serializable {

    @Override
    public String toString()
    {
        String result = "{";

        if (getDate() != null)
        {
            result += "date" + getDate();
        }

        result += "hours:";
        List<Impression> hoursList = getHours();
        for (Impression hour : hoursList)
        {
            result += hour.toString();
        }

        result += "}";
        return result;
    }

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

}