import java.util.Arrays;
import java.util.List;

public final class TimeContentItemHelper {

    public static List<TimePeriods> TIME_PERIOD_1_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_PERIOD1_1,
            TimePeriods.TIME_PERIOD1_2,
            TimePeriods.TIME_PERIOD1_3,
            TimePeriods.TIME_PERIOD1_4,
            TimePeriods.TIME_PERIOD1_5,
            TimePeriods.TIME_PERIOD1_6
    );

    public static List<TimePeriods> TIME_PERIOD_2_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_PERIOD2_1,
            TimePeriods.TIME_PERIOD2_2,
            TimePeriods.TIME_PERIOD2_3,
            TimePeriods.TIME_PERIOD2_4,
            TimePeriods.TIME_PERIOD2_5,
            TimePeriods.TIME_PERIOD2_6
    );

    public static List<TimePeriods> TIME_PERIOD_3_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_PERIOD3_1,
            TimePeriods.TIME_PERIOD3_2,
            TimePeriods.TIME_PERIOD3_3,
            TimePeriods.TIME_PERIOD3_4,
            TimePeriods.TIME_PERIOD3_5,
            TimePeriods.TIME_PERIOD3_6
    );

    public static List<TimePeriods> TIME_PERIOD_4_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_PERIOD4_1,
            TimePeriods.TIME_PERIOD4_2,
            TimePeriods.TIME_PERIOD4_3,
            TimePeriods.TIME_PERIOD4_4,
            TimePeriods.TIME_PERIOD4_5,
            TimePeriods.TIME_PERIOD4_6
    );

    public static List<TimePeriods> TIME_PERIOD_5_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_PERIOD5_1,
            TimePeriods.TIME_PERIOD5_2,
            TimePeriods.TIME_PERIOD5_3,
            TimePeriods.TIME_PERIOD5_4,
            TimePeriods.TIME_PERIOD5_5,
            TimePeriods.TIME_PERIOD5_6
    );

    public static List<TimePeriods> TIME_PERIOD_6_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_PERIOD6_1,
            TimePeriods.TIME_PERIOD6_2,
            TimePeriods.TIME_PERIOD6_3,
            TimePeriods.TIME_PERIOD6_4,
            TimePeriods.TIME_PERIOD6_5,
            TimePeriods.TIME_PERIOD6_6
    );

    public static List<List<TimePeriods>> TIME_PERIOD_CONTENT_ITEM_KEY_MATRIX = Arrays.asList(
            TIME_PERIOD_1_CONTENT_ITEM_KEYS,
            TIME_PERIOD_2_CONTENT_ITEM_KEYS,
            TIME_PERIOD_3_CONTENT_ITEM_KEYS,
            TIME_PERIOD_4_CONTENT_ITEM_KEYS,
            TIME_PERIOD_5_CONTENT_ITEM_KEYS,
            TIME_PERIOD_6_CONTENT_ITEM_KEYS
    );

    public static List<TimePeriods> TIME_AVERAGE_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_AVERAGE1,
            TimePeriods.TIME_AVERAGE2,
            TimePeriods.TIME_AVERAGE3,
            TimePeriods.TIME_AVERAGE4,
            TimePeriods.TIME_AVERAGE5,
            TimePeriods.TIME_AVERAGE6
    );

    public static List<TimePeriods> TIME_ROOM_DESCRIPTION_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_AVERAGE_DESCRIPTION1,
            TimePeriods.TIME_AVERAGE_DESCRIPTION2,
            TimePeriods.TIME_AVERAGE_DESCRIPTION3,
            TimePeriods.TIME_AVERAGE_DESCRIPTION4,
            TimePeriods.TIME_AVERAGE_DESCRIPTION5,
            TimePeriods.TIME_AVERAGE_DESCRIPTION6
    );

    public static List<TimePeriods> TIME_1_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_AVERAGE_PRICE1_1,
            TimePeriods.TIME_AVERAGE_PRICE1_2,
            TimePeriods.TIME_AVERAGE_PRICE1_3,
            TimePeriods.TIME_AVERAGE_PRICE1_4,
            TimePeriods.TIME_AVERAGE_PRICE1_5,
            TimePeriods.TIME_AVERAGE_PRICE1_6
    );

    public static List<TimePeriods> TIME_2_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_AVERAGE_PRICE2_1,
            TimePeriods.TIME_AVERAGE_PRICE2_2,
            TimePeriods.TIME_AVERAGE_PRICE2_3,
            TimePeriods.TIME_AVERAGE_PRICE2_4,
            TimePeriods.TIME_AVERAGE_PRICE2_5,
            TimePeriods.TIME_AVERAGE_PRICE2_6
    );

    public static List<TimePeriods> TIME_3_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_AVERAGE_PRICE3_1,
            TimePeriods.TIME_AVERAGE_PRICE3_2,
            TimePeriods.TIME_AVERAGE_PRICE3_3,
            TimePeriods.TIME_AVERAGE_PRICE3_4,
            TimePeriods.TIME_AVERAGE_PRICE3_5,
            TimePeriods.TIME_AVERAGE_PRICE3_6
    );

    public static List<TimePeriods> TIME_4_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_AVERAGE_PRICE4_1,
            TimePeriods.TIME_AVERAGE_PRICE4_2,
            TimePeriods.TIME_AVERAGE_PRICE4_3,
            TimePeriods.TIME_AVERAGE_PRICE4_4,
            TimePeriods.TIME_AVERAGE_PRICE4_5,
            TimePeriods.TIME_AVERAGE_PRICE4_6
    );

    public static List<TimePeriods> TIME_5_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_AVERAGE_PRICE5_1,
            TimePeriods.TIME_AVERAGE_PRICE5_2,
            TimePeriods.TIME_AVERAGE_PRICE5_3,
            TimePeriods.TIME_AVERAGE_PRICE5_4,
            TimePeriods.TIME_AVERAGE_PRICE5_5,
            TimePeriods.TIME_AVERAGE_PRICE5_6
    );

    public static List<TimePeriods> TIME_6_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_AVERAGE_PRICE6_1,
            TimePeriods.TIME_AVERAGE_PRICE6_2,
            TimePeriods.TIME_AVERAGE_PRICE6_3,
            TimePeriods.TIME_AVERAGE_PRICE6_4,
            TimePeriods.TIME_AVERAGE_PRICE6_5,
            TimePeriods.TIME_AVERAGE_PRICE6_6
    );

    public static List<List<TimePeriods>> TIME_CONTENT_ITEM_KEY_MATRIX = Arrays.asList(
            TIME_1_CONTENT_ITEM_KEYS,
            TIME_2_CONTENT_ITEM_KEYS,
            TIME_3_CONTENT_ITEM_KEYS,
            TIME_4_CONTENT_ITEM_KEYS,
            TIME_5_CONTENT_ITEM_KEYS,
            TIME_6_CONTENT_ITEM_KEYS
    );

    public static List<TimePeriods> TIME_NOTE_LABELS_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_NOTE_LABEL_1,
            TimePeriods.TIME_NOTE_LABEL_2,
            TimePeriods.TIME_NOTE_LABEL_3,
            TimePeriods.TIME_NOTE_LABEL_4,
            TimePeriods.TIME_NOTE_LABEL_5,
            TimePeriods.TIME_NOTE_LABEL_6,
            TimePeriods.TIME_NOTE_LABEL_7,
            TimePeriods.TIME_NOTE_LABEL_8,
            TimePeriods.TIME_NOTE_LABEL_9,
            TimePeriods.TIME_NOTE_LABEL_10
    );

    public static List<TimePeriods> TIME_NOTES_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIME_NOTE_1,
            TimePeriods.TIME_NOTE_2,
            TimePeriods.TIME_NOTE_3,
            TimePeriods.TIME_NOTE_4,
            TimePeriods.TIME_NOTE_5,
            TimePeriods.TIME_NOTE_6,
            TimePeriods.TIME_NOTE_7,
            TimePeriods.TIME_NOTE_8,
            TimePeriods.TIME_NOTE_9,
            TimePeriods.TIME_NOTE_10
    );

    public static List<TimePeriods> TIME_CONTENT_ITEM_KEYS = Arrays.asList(
            TimePeriods.TIMES_ENABLED,
            TimePeriods.TIMES_COUNT_OF_TIMES,
            TimePeriods.TIMES_COUNT_OF_TIME_PERIODS,
            TimePeriods.TIMES_COUNT_OF_AVERAGES,
            TimePeriods.TIME_NAME1,
            TimePeriods.TIME_NAME2,
            TimePeriods.TIME_NAME3,
            TimePeriods.TIME_NAME4,
            TimePeriods.TIME_NAME5,
            TimePeriods.TIME_NAME6,
            TimePeriods.TIME_PERIOD1_1,
            TimePeriods.TIME_PERIOD1_2,
            TimePeriods.TIME_PERIOD1_3,
            TimePeriods.TIME_PERIOD1_4,
            TimePeriods.TIME_PERIOD1_5,
            TimePeriods.TIME_PERIOD1_6,
            TimePeriods.TIME_PERIOD2_1,
            TimePeriods.TIME_PERIOD2_2,
            TimePeriods.TIME_PERIOD2_3,
            TimePeriods.TIME_PERIOD2_4,
            TimePeriods.TIME_PERIOD2_5,
            TimePeriods.TIME_PERIOD2_6,
            TimePeriods.TIME_PERIOD3_1,
            TimePeriods.TIME_PERIOD3_2,
            TimePeriods.TIME_PERIOD3_3,
            TimePeriods.TIME_PERIOD3_4,
            TimePeriods.TIME_PERIOD3_5,
            TimePeriods.TIME_PERIOD3_6,
            TimePeriods.TIME_PERIOD4_1,
            TimePeriods.TIME_PERIOD4_2,
            TimePeriods.TIME_PERIOD4_3,
            TimePeriods.TIME_PERIOD4_4,
            TimePeriods.TIME_PERIOD4_5,
            TimePeriods.TIME_PERIOD4_6,
            TimePeriods.TIME_PERIOD5_1,
            TimePeriods.TIME_PERIOD5_2,
            TimePeriods.TIME_PERIOD5_3,
            TimePeriods.TIME_PERIOD5_4,
            TimePeriods.TIME_PERIOD5_5,
            TimePeriods.TIME_PERIOD5_6,
            TimePeriods.TIME_PERIOD6_1,
            TimePeriods.TIME_PERIOD6_2,
            TimePeriods.TIME_PERIOD6_3,
            TimePeriods.TIME_PERIOD6_4,
            TimePeriods.TIME_PERIOD6_5,
            TimePeriods.TIME_PERIOD6_6,
            TimePeriods.TIME_AVERAGE1,
            TimePeriods.TIME_AVERAGE2,
            TimePeriods.TIME_AVERAGE3,
            TimePeriods.TIME_AVERAGE4,
            TimePeriods.TIME_AVERAGE5,
            TimePeriods.TIME_AVERAGE6,
            TimePeriods.TIME_AVERAGE_PRICE1_1,
            TimePeriods.TIME_AVERAGE_PRICE1_2,
            TimePeriods.TIME_AVERAGE_PRICE1_3,
            TimePeriods.TIME_AVERAGE_PRICE1_4,
            TimePeriods.TIME_AVERAGE_PRICE1_5,
            TimePeriods.TIME_AVERAGE_PRICE1_6,
            TimePeriods.TIME_AVERAGE_PRICE2_1,
            TimePeriods.TIME_AVERAGE_PRICE2_2,
            TimePeriods.TIME_AVERAGE_PRICE2_3,
            TimePeriods.TIME_AVERAGE_PRICE2_4,
            TimePeriods.TIME_AVERAGE_PRICE2_5,
            TimePeriods.TIME_AVERAGE_PRICE2_6,
            TimePeriods.TIME_AVERAGE_PRICE3_1,
            TimePeriods.TIME_AVERAGE_PRICE3_2,
            TimePeriods.TIME_AVERAGE_PRICE3_3,
            TimePeriods.TIME_AVERAGE_PRICE3_4,
            TimePeriods.TIME_AVERAGE_PRICE3_5,
            TimePeriods.TIME_AVERAGE_PRICE3_6,
            TimePeriods.TIME_AVERAGE_PRICE4_1,
            TimePeriods.TIME_AVERAGE_PRICE4_2,
            TimePeriods.TIME_AVERAGE_PRICE4_3,
            TimePeriods.TIME_AVERAGE_PRICE4_4,
            TimePeriods.TIME_AVERAGE_PRICE4_5,
            TimePeriods.TIME_AVERAGE_PRICE4_6,
            TimePeriods.TIME_AVERAGE_PRICE5_1,
            TimePeriods.TIME_AVERAGE_PRICE5_2,
            TimePeriods.TIME_AVERAGE_PRICE5_3,
            TimePeriods.TIME_AVERAGE_PRICE5_4,
            TimePeriods.TIME_AVERAGE_PRICE5_5,
            TimePeriods.TIME_AVERAGE_PRICE5_6,
            TimePeriods.TIME_AVERAGE_PRICE6_1,
            TimePeriods.TIME_AVERAGE_PRICE6_2,
            TimePeriods.TIME_AVERAGE_PRICE6_3,
            TimePeriods.TIME_AVERAGE_PRICE6_4,
            TimePeriods.TIME_AVERAGE_PRICE6_5,
            TimePeriods.TIME_AVERAGE_PRICE6_6,
            TimePeriods.TIME_AVERAGE_DESCRIPTION1,
            TimePeriods.TIME_AVERAGE_DESCRIPTION2,
            TimePeriods.TIME_AVERAGE_DESCRIPTION3,
            TimePeriods.TIME_AVERAGE_DESCRIPTION4,
            TimePeriods.TIME_AVERAGE_DESCRIPTION5,
            TimePeriods.TIME_AVERAGE_DESCRIPTION6,
            TimePeriods.TIME_NOTE_LABEL_1,
            TimePeriods.TIME_NOTE_LABEL_2,
            TimePeriods.TIME_NOTE_LABEL_3,
            TimePeriods.TIME_NOTE_LABEL_4,
            TimePeriods.TIME_NOTE_LABEL_5,
            TimePeriods.TIME_NOTE_LABEL_6,
            TimePeriods.TIME_NOTE_LABEL_7,
            TimePeriods.TIME_NOTE_LABEL_8,
            TimePeriods.TIME_NOTE_LABEL_9,
            TimePeriods.TIME_NOTE_LABEL_10,
            TimePeriods.TIME_NOTE_1,
            TimePeriods.TIME_NOTE_2,
            TimePeriods.TIME_NOTE_3,
            TimePeriods.TIME_NOTE_4,
            TimePeriods.TIME_NOTE_5,
            TimePeriods.TIME_NOTE_6,
            TimePeriods.TIME_NOTE_7,
            TimePeriods.TIME_NOTE_8,
            TimePeriods.TIME_NOTE_9,
            TimePeriods.TIME_NOTE_10
    );

    public static boolean check(TimePeriods key) {
        int keyI = key.getIntValue();
        if (keyI < 0) {
            return false;
        } else {
            return true;
        }
    }
}
