class DayClustering {

    public static DayClustering create(int[] groups) {
        if (groups.length != 7) {
            return null;
        }
        if (!checkGroups(groups)) {
            return null;
        }
        return new DayClustering(groups);
    }

      DayClustering(final int[] groups);

}