private void CIRCUIT_Create()
    {
        DateHandler Circuit = new DateHandler("BuenaVista", "Circuit");



        int[] weekAll = new int[] { 0 };  //first Friday of any month; third Friday of any month;fourth Wednesday of January;fourth Wednesday of July;fourth Monday of September; orfirst Monday of April.
        int[] week1   = new int[] { 5 };
        int[] week2   = new int[] { 0 };
        int[] week3   = new int[] { 5 };
        int[] week4   = new int[] { 0 };
        int[] week5   = new int[] { 0 };

        int[][] weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };

        String Mon = "9:30";
        String Tue = "9:30";
        String Wed = "9:30";
        String Thu = "9:30";
        String Fri = "9:30";


        String[] DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        Circuit.DefaultDate_Create("Return", weekTable, 1, 1000, DayOfWeekTime);

        String reminder = "If the next return date from the above list is less than two business days out from today’s date, you must fax a copy of the paperwork you issue to the Court.";

        Circuit.Reminder_Create(reminder, "Return");

        reminder = "If during business hours, call the clerk’s office and use the return date they give you.";
        Circuit.Reminder_Create(reminder, "Return");


        weekAll = new int[] { 0 };
        week1   = new int[] { 0 };
        week2   = new int[] { 0 };
        week3   = new int[] { 0 };
        week4   = new int[] { 3 };
        week5   = new int[] { 0 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };
        int[] monthList = new[] { 1, 7 };
        Circuit.MonthException_Create("Return", weekTable, "9:30", monthList);

        weekAll = new int[] { 0 };
        week1   = new int[] { 0 };
        week2   = new int[] { 0 };
        week3   = new int[] { 0 };
        week4   = new int[] { 1 };
        week5   = new int[] { 0 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };
        monthList = new[] { 9 };
        Circuit.MonthException_Create("Return", weekTable, "9:30", monthList);

        weekAll = new int[] { 0 };
        week1   = new int[] { 1 };
        week2   = new int[] { 0 };
        week3   = new int[] { 0 };
        week4   = new int[] { 0 };
        week5   = new int[] { 0 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };
        monthList = new[] { 4 };
        Circuit.MonthException_Create("Return", weekTable, "9:30", monthList);



        weekAll = new int[] { 3, 4 };
        week1   = new int[] { 3, 4 };
        week2   = new int[] { 3, 4 };
        week3   = new int[] { 3, 4 };
        week4   = new int[] { 3, 4 };
        week5   = new int[] { 3, 4 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };

        Mon = "8:30";
        Tue = "8:30";
        Wed = "8:30";
        Thu = "8:30";
        Fri = "8:30";

        DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        Circuit.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” date is a Thursday, set crossover court as GDC.";
        Circuit.Reminder_Create(reminder, "CrossOver");

        reminder = "If the “whichever comes first” date is a Wednesday, set crossover court as JDR.";
        Circuit.Reminder_Create(reminder, "CrossOver");
    }
    private void CIRCUIT_Create()
    {
        DateHandler Circuit = new DateHandler("Highland", "Circuit");



        int[] weekAll = new int[] { 0 }; //Third Tuesday of March, June, September, or December.
        int[] week1   = new int[] { 0 };
        int[] week2   = new int[] { 0 };
        int[] week3   = new int[] { 0 };
        int[] week4   = new int[] { 0 };
        int[] week5   = new int[] { 0 };

        int[][] weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };

        String Mon = "9:30";
        String Tue = "9:30";
        String Wed = "9:30";
        String Thu = "9:30";
        String Fri = "9:30";


        String[] DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        Circuit.DefaultDate_Create("Return", weekTable, 1, 1000, DayOfWeekTime);

        String reminder = "If the next return date from the above list is less than two business days out from today’s date, you must fax a copy of the paperwork you issue to the Court.";

        Circuit.Reminder_Create(reminder, "Return");

        reminder = "If during business hours, call the clerk’s office and use the return date they give you.";
        Circuit.Reminder_Create(reminder, "Return");

        weekAll = new int[] { 0 };
        week1   = new int[] { 0 };
        week2   = new int[] { 0 };
        week3   = new int[] { 2 };
        week4   = new int[] { 0 };
        week5   = new int[] { 0 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };
        int [] monthList = new[] { 3, 6, 9, 12 };
        Circuit.MonthException_Create("Return", weekTable, "9:30", monthList);

        weekAll = new int[] { 0 };
        week1   = new int[] { 2, 3 };
        week2   = new int[] { 0 };
        week3   = new int[] { 3 };
        week4   = new int[] { 0 };
        week5   = new int[] { 0 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };

        Mon = "0:00";
        Tue = "0:00";
        Wed = "0:00";
        Thu = "0:00";
        Fri = "0:00";

        DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        Circuit.DefaultDate_Create("CrossOver", weekTable, 0, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” date is a Wednesday, set crossover court as GDC (2:00 pm).";
        Circuit.Reminder_Create(reminder, "CrossOver");

        reminder = "If the “whichever comes first” date is a Tuesday, set crossover court as JDR (10:00 am).";
        Circuit.Reminder_Create(reminder, "CrossOver");
    }
Exemple #3
0
    private void CIRCUIT_Create()
    {
        DateHandler Circuit = new DateHandler("Bath", "Circuit");



        int[] weekAll = new int[] { 0 };//*************3rd Monday (or Tuesday if holiday falls on Monday) in January, June, or September; or 1st Monday April.

        int[] week1 = new int[] { 0 };
        int[] week2 = new int[] { 0 };
        int[] week3 = new int[] { 0 };
        int[] week4 = new int[] { 0 };
        int[] week5 = new int[] { 0 };

        int[][] weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };

        String Mon = "9:30";
        String Tue = "9:30";
        String Wed = "9:30";
        String Thu = "9:30";
        String Fri = "9:30";


        String[] DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        Circuit.DefaultDate_Create("Return", weekTable, 1, 1000, DayOfWeekTime);

        String reminder = "If the next return date from the above list is less than two business days out from today’s date, you must fax a copy of the paperwork you issue to the Court.";

        Circuit.Reminder_Create(reminder, "Return");

        reminder = "If during business hours, call the clerk’s office and use the return date they give you.";
        Circuit.Reminder_Create(reminder, "Return");

        weekAll = new int[] { 0 };
        week1   = new int[] { 0 };
        week2   = new int[] { 0 };
        week3   = new int[] { 1 };
        week4   = new int[] { 0 };
        week5   = new int[] { 0 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };
        int[] monthList = new[] { 1, 6, 9 };
        Circuit.MonthException_Create("Return", weekTable, "9:30", monthList);

        weekAll = new int[] { 0 };
        week1   = new int[] { 1 };
        week2   = new int[] { 0 };
        week3   = new int[] { 0 };
        week4   = new int[] { 0 };
        week5   = new int[] { 0 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };
        monthList = new[] { 4 };
        Circuit.MonthException_Create("Return", weekTable, "9:30", monthList);


        weekAll = new int[] { 0 };
        week1   = new int[] { 3 };
        week2   = new int[] { 2 };
        week3   = new int[] { 3 };
        week4   = new int[] { 1, 3 };
        week5   = new int[] { 0 };

        weekTable = new int[6][] { weekAll, week1, week2, week3, week4, week5 };

        Mon = "9:00";
        Tue = "9:00";
        Wed = "9:00";
        Thu = "9:00";
        Fri = "9:00";

        DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        Circuit.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” date is a Wednesday, set the crossover court as GDC.";
        Circuit.Reminder_Create(reminder, "CrossOver");

        reminder = "If the “whichever comes first” date is a Monday or Tuesday, set the crossover court as JDR.";
        Circuit.Reminder_Create(reminder, "CrossOver");
    }