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



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

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

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


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

        String 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[] { 1, 2, 3, 4 };
        week2   = new int[] { 1, 2, 3, 4, 5 };
        week3   = new int[] { 1, 2, 3, 4, 5 };
        week4   = new int[] { 1, 2, 3, 4, 5 };
        week5   = new int[] { 1, 2, 3, 4, 5 };

        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” day is a Monday, Tuesday, or Thursday, set the “crossover” court as GDC.";
        Circuit.Reminder_Create(reminder, "CrossOver");

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



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

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

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


        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");


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

        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 next weekday day is a Tuesday, Thursday, or Friday set crossover court as GDC.";
        Circuit.Reminder_Create(reminder, "CrossOver");

        reminder = "If the next weekday is a Monday or Wednesday, set crossover court as JDR.";
        Circuit.Reminder_Create(reminder, "CrossOver");
    }
Exemple #3
0
    private void CIRCUIT_Create()
    {
        DateHandler Circuit = new DateHandler("Craig", "Circuit");



        int[] weekAll = new int[] { 0 };
        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 = "0:00";
        String Tue = "0:00";
        String Wed = "0:00";
        String Thu = "0:00";
        String Fri = "0:00";


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

        String reminder = "If during business hours, call clerk’s office and use the return date they give you. If after hours, or you are unable to speak to anyone in the clerk’s office, call the Sheriff’s office for the next Circuit Court return date (not the deputy’s next court date).";

        Circuit.Reminder_Create(reminder, "Return");


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

        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 Tuesday or Thursday, set crossover court as GDC.";
        Circuit.Reminder_Create(reminder, "CrossOver");

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



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

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

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


        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");


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

        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 Monday; Wednesday; or a second, third, fourth, or fifth Friday, set crossover court as GDC.";
        Circuit.Reminder_Create(reminder, "CrossOver");

        reminder = "If the “whichever comes first” date is a second or fourth Tuesday or a first, third, fourth, or fifth Thursday, set crossover court as JDR.";
        Circuit.Reminder_Create(reminder, "CrossOver");
    }
    private void JDR_Create()
    {
        DateHandler jdr = new DateHandler("Botetourt", "Juvenile and Domestic Relations");



        int[] weekAll = new int[] { 2 }; //no sooner than 5 business days and no more than 20 business days from today’s date.
        int[] week1   = new int[] { 2 };
        int[] week2   = new int[] { 2 };
        int[] week3   = new int[] { 2 };
        int[] week4   = new int[] { 2 };
        int[] week5   = new int[] { 2 };

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

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


        String[] DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        jdr.DefaultDate_Create("Return", weekTable, 5, 20, DayOfWeekTime);

        String reminder = "set the following for the LEO's next court date at 10:30 am:- Misdemeanor bad check, one or two charges where the defendant has no previous criminal charges on his/her record.";

        jdr.Reminder_Create(reminder, "Return");

        reminder = "If the charge listed above accompanies any other charge not listed above, set all charges for a regular return date.";
        jdr.Reminder_Create(reminder, "Return");

        reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. If there are any additional charges arising out of the same Class 3 or 4 incident that are issued on a warrant, all the charges (including the Class 3 or 4) should be set for a regular return date.";
        jdr.Reminder_Create(reminder, "Return");

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

        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, "" };
        jdr.DefaultDate_Create("CrossOver", weekTable, 0, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” day is a Monday, second Tuesday, Wednesday, first Thursday, or Friday, set the “crossover” court as GDC.";
        jdr.Reminder_Create(reminder, "CrossOver");

        reminder = "Otherwise, set the “crossover” court as JDR.";
        jdr.Reminder_Create(reminder, "CrossOver");

        weekAll = new int[] { 2, 4 };  //at least 3 days after today's date
        week1   = new int[] { 2, 4 };
        week2   = new int[] { 2, 4 };
        week3   = new int[] { 2, 4 };
        week4   = new int[] { 2, 4 };
        week5   = new int[] { 2, 4 };

        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, "" };
        jdr.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        jdr.DateException_Create("Return", weekTable, 1, 30, "10:30");
    }
    private void GDC_Create()
    {
        DateHandler gdc = new DateHandler("BuenaVista", "General District");



        int[] weekAll = new int[] { 0 }; //at least two business days out (but no more than two weeks out) from today’s date.
        int[] week1   = new int[] { 4 };
        int[] week2   = new int[] { 4 };
        int[] week3   = new int[] { 4 };
        int[] week4   = new int[] { 4 };
        int[] week5   = new int[] { 4 };

        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, "" };
        gdc.DefaultDate_Create("Return", weekTable, 2, 14, DayOfWeekTime);

        String reminder = "set the following for the LEO’s next court date (unless the LEO tells you “this one needs an advisement per the CA” – then set regular return date): - Driving without a valid operator’s license (1st offense) – 46.2-300; - Driving suspended or revoked (1st offense) – 46.2-301; - Displaying an improper or fictitious license, registration, or certificate of title –  46.2-613, subparagraph 2; - Allowing and unlicensed person to drive – 46.2-349; - Allowing a suspended/revoked person to drive – 46.2-301.1.E; - Littering on the highway – 33.1-346; - Underage possession of alcohol (1st offense) – 4.1-305; - Use of profane, threatening, etc. language on telephone – 18.2-427; - Reckless driving (generally) – 46.2-852; - Reckless driving (vehicle not under control) – 46.2-853; - Reckless driving (exceeding the speed limit)* – 46.2-862; * - provided the speed is less than 30 mph in excess of the speed limit where the maximum speed limit is 60 mph or less, or less than 95 mph where the maximum speed limit is more than 60 mph. - Show causes issued for non-compliance – driver improvement; and  - Show causes issued for non-compliance – underage alcohol possession.";

        gdc.Reminder_Create(reminder, "Return");

        reminder = "If one of the charges listed above accompanies any other charge not listed above, set all charges for a regular return date.";
        gdc.Reminder_Create(reminder, "Return");

        reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. Where there are multiple charges arising out of the same incident, use regular return date for any non-Class 3 or 4 charges.";
        gdc.Reminder_Create(reminder, "Return");



        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, "" };
        gdc.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


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

        weekAll = new int[] { 4 }; //at least 3 days after today's date
        week1   = new int[] { 4 };
        week2   = new int[] { 4 };
        week3   = new int[] { 4 };
        week4   = new int[] { 4 };
        week5   = new int[] { 4 };

        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, "" };
        gdc.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        gdc.DateException_Create("Return", weekTable, 1, 28, "8:30");
    }
    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 JDR_Create()
    {
        DateHandler jdr = new DateHandler("BuenaVista", "Juvenile and Domestic Relations");



        int[] weekAll = new int[] { 3 }; //at least two business days out (but no more than two weeks out) from today’s date.
        int[] week1   = new int[] { 3 };
        int[] week2   = new int[] { 3 };
        int[] week3   = new int[] { 3 };
        int[] week4   = new int[] { 3 };
        int[] week5   = new int[] { 3 };

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

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


        String[] DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        jdr.DefaultDate_Create("Return", weekTable, 2, 14, DayOfWeekTime);

        String reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. Where there are multiple charges arising out of the same incident, use regular return date for any non-Class 3 or 4 charges.";

        jdr.Reminder_Create(reminder, "Return");


        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, "" };
        jdr.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


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

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

        weekAll = new int[] { 3 }; //at least 3 days after today’s date.
        week1   = new int[] { 3 };
        week2   = new int[] { 3 };
        week3   = new int[] { 3 };
        week4   = new int[] { 3 };
        week5   = new int[] { 3 };

        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, "" };
        jdr.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        jdr.DateException_Create("Return", weekTable, 1, 28, "9:00");
    }
Exemple #9
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");
    }
    private void JDR_Create()
    {
        DateHandler jdr = new DateHandler("Augusta", "Juvenile and Domestic Relations");



        int[] weekAll = new int[] { 0 };//7 business days from todays date
        int[] week1   = new int[] { 2, 3, 4, 5 };
        int[] week2   = new int[] { 2, 3, 4, 5 };
        int[] week3   = new int[] { 2, 3, 5 };
        int[] week4   = new int[] { 2, 3, 4 };
        int[] week5   = new int[] { 2, 3, 4, 5 };

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

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


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

        String reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. If there are any additional charges arising out of the same Class 3 or 4 incident that are issued on a warrant, all the charges (including the Class 3 or 4) should be set for a regular return date.";

        jdr.Reminder_Create(reminder, "Return");

        reminder = "In a cross-warrant situation (e.g. Domestic A&B where both parties are pressing charges), do not set the same court date for both parties as this creates potential security and/or EPO violation problems. Also, the clerks find it helpful if you indicate on the face of the warrant when it is a cross-warrant situation.";
        jdr.Reminder_Create(reminder, "Return");

        reminder = "For Augusta JDR, try to make sure the citizen complainant in a Class 3 or 4 misdemeanor (charges that would not have an advisement for the accused) knows the court date, because Augusta JDR typically does not subpoena those complainants.";
        jdr.Reminder_Create(reminder, "Return");

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

        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, "" };
        jdr.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);

        weekAll = new int[] { 0 };  //3 days after the date of issuance
        week1   = new int[] { 1, 2, 3, 4, 5 };
        week2   = new int[] { 1, 2, 3, 4, 5 };
        week3   = new int[] { 1, 2, 3, 4, 5 };
        week4   = new int[] { 1, 2, 3, 4, 5 };
        week5   = new int[] { 1, 2, 3, 4, 5 };

        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, "" };
        jdr.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        jdr.DateException_Create("Return", weekTable, 1, 28, "10:00");

        weekAll = new int[] { 0 };
        week1   = new int[] { 5 };
        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 };


        jdr.DateException_Create("Return", weekTable, 2, 28, "13:00");
    }
    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 #12
0
    private void GDC_Create()
    {
        DateHandler gdc = new DateHandler("Craig", "General District");



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

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

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


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

        String reminder = "class 3 and 4 charges obtained by LEO should be set for the LEO's next court date.";

        gdc.Reminder_Create(reminder, "Return");



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

        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, "" };
        gdc.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


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

        reminder = "If the “whichever comes first” day is a Friday, set the “crossover” court as JDR.";
        gdc.Reminder_Create(reminder, "CrossOver");

        weekAll = new int[] { 0 };  //atleast 3 day's after today's date
        week1   = new int[] { 2 };
        week2   = new int[] { 0 };
        week3   = new int[] { 2 };
        week4   = new int[] { 0 };
        week5   = new int[] { 4 };

        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, "" };
        gdc.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        gdc.DateException_Create("Return", weekTable, 1, 35, "0:00"); //1 month later
    }
    private void GDC_Create()
    {
        DateHandler gdc = new DateHandler("Alleghany", "General District");



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

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

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


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

        String reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. Where there are multiple charges arising out of the same incident, use regular return date for any non-Class 3 or 4 charges.";

        gdc.Reminder_Create(reminder, "Return");



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

        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, "" };

        gdc.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” day is a Monday, Tuesday, or Thursday, set the “crossover” court as GDC.";
        gdc.Reminder_Create(reminder, "CrossOver");

        reminder = "If the “whichever comes first” day is a Wednesday or Friday, set the “crossover” court as JDR.";
        gdc.Reminder_Create(reminder, "CrossOver");

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

        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, "" };
        gdc.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


        weekAll = new int[] { 0 };
        week1   = new int[] { 1 };
        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 };


        gdc.DateException_Create("Return", weekTable, 1, 28, "13:00");

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

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


        gdc.DateException_Create("Return", weekTable, 2, 1, "14:00");
    }
    private void GDC_Create()
    {
        DateHandler gdc = new DateHandler("Augusta", "General District");



        int[] weekAll = new int[] { 0 };  //2 weeks from todays date
        int[] week1   = new int[] { 0 };
        int[] week2   = new int[] { 5 };
        int[] week3   = new int[] { 0 };
        int[] week4   = new int[] { 5 };
        int[] week5   = new int[] { 0 };

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

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


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

        String reminder = "Reckless driving charge where the speed is 90 or less,  should be set for the LEO's next court date. Speeds over 90, use regular 2nd or 4th Friday return date.";

        gdc.Reminder_Create(reminder, "Return");

        reminder = "If any additional charges arising out of the same reckless driving incident, and all of the additional charges are issued on a summons (e.g. no seatbelt), the additional charges should be set for the same reckless driving return date.";
        gdc.Reminder_Create(reminder, "Return");

        reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. If there are any additional charges arising out of the same Class 3 or 4 incident that are issued on a warrant, all the charges (including the Class 3 or 4) should be set for a regular return date.";
        gdc.Reminder_Create(reminder, "Return");


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

        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, "" };
        gdc.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” day is a Monday, set the “crossover” court as JDR.";
        gdc.Reminder_Create(reminder, "CrossOver");

        weekAll = new int[] { 2, 3, 4, 5 };  //Atleast 3 days after today's date
        week1   = new int[] { 2, 3, 4, 5 };
        week2   = new int[] { 2, 3, 4, 5 };
        week3   = new int[] { 2, 3, 4, 5 };
        week4   = new int[] { 2, 3, 4, 5 };
        week5   = new int[] { 2, 3, 4, 5 };

        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, "" };
        gdc.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        gdc.DateException_Create("Return", weekTable, 1, 14, "9:00");
    }
    private void GDC_Create()
    {
        DateHandler gdc = new DateHandler("Botetourt", "General District");



        int[] weekAll = new int[] { 1, 3, 5 }; //no sooner than 5 business days and no more than 20 business days from today’s date.
        int[] week1   = new int[] { 1, 3, 5 };
        int[] week2   = new int[] { 1, 3, 5 };
        int[] week3   = new int[] { 1, 3, 5 };
        int[] week4   = new int[] { 1, 3, 5 };
        int[] week5   = new int[] { 1, 3, 5 };

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

        String Mon = "12:00";
        String Tue = "12:00";
        String Wed = "12:00";
        String Thu = "12:00";
        String Fri = "12:00";


        String[] DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        gdc.DefaultDate_Create("Return", weekTable, 5, 20, DayOfWeekTime);

        String reminder = "set the following for the LEO's next court date at 9:00 am: - LEO obtains Class 3 or 4 charge; - Misdemeanor bad check, one or two charges where the defendant has no previous criminal charges on his/her record; - Underage Possession of Alcohol where the defendant has no previous criminal charges on his/her record; - Possession of Marijuana where the defendant has no previous drug related charges on his/her record; or - Possession of Schedule III or IV controlled substance where the defendant has no previous drug related charges on his/her record.";

        gdc.Reminder_Create(reminder, "Return");

        reminder = "If one of the charges listed above accompanies any other charge not listed above, set all charges for a regular return date.";
        gdc.Reminder_Create(reminder, "Return");

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

        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, "" };
        gdc.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” day is a Monday, second Tuesday, Wednesday, first Thursday, or Friday, set the “crossover” court as GDC.";
        gdc.Reminder_Create(reminder, "CrossOver");

        reminder = "Otherwise, set the “crossover” court as JDR.";
        gdc.Reminder_Create(reminder, "CrossOver");

        weekAll = new int[] { 0 };
        week1   = new int[] { 1, 3, 4, 5 }; //3 days after todays date
        week2   = new int[] { 1, 2, 3, 5 };
        week3   = new int[] { 1, 3, 5 };
        week4   = new int[] { 1, 3, 5 };
        week5   = new int[] { 1, 3, 5 };

        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, "" };
        gdc.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        gdc.DateException_Create("Return", weekTable, 1, 30, "11:00");
    }
Exemple #16
0
    private void GDC_Create()
    {
        DateHandler gdc = new DateHandler("Waynesboro", "General District");



        int[] weekAll = new int[] { 0 }; //a week out from today’s date.
        int[] week1   = new int[] { 2 };
        int[] week2   = new int[] { 2, 4 };
        int[] week3   = new int[] { 2, 4 };
        int[] week4   = new int[] { 2, 4 };
        int[] week5   = new int[] { 2 };

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

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


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

        String reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. If there are any additional charges arising out of the same Class 3 or 4 incident that are issued on a warrant, all the charges (including the Class 3 or 4) should be set for a regular return date.";

        gdc.Reminder_Create(reminder, "Return");


        weekAll = new int[] { 0 };
        week1   = new int[] { 1, 2, 4 };
        week2   = new int[] { 1, 2, 4 };
        week3   = new int[] { 1, 2, 4 };
        week4   = new int[] { 2, 4 };
        week5   = new int[] { 1, 2, 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, "" };
        gdc.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” day is a Tuesday or 2nd, 3rd, or 4th Thursday, set the “crossover” court as GDC.";
        gdc.Reminder_Create(reminder, "CrossOver");

        reminder = "Otherwise, set the “crossover” court as JDR.";
        gdc.Reminder_Create(reminder, "CrossOver");

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

        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, "" };
        gdc.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        gdc.DateException_Create("Return", weekTable, 1, 7, "9:00");
    }
    private void JDR_Create()
    {
        DateHandler jdr = new DateHandler("Highland", "Juvenile and Domestic Relations");



        int[] weekAll = new int[] { 0 };
        int[] week1   = new int[] { 2 };
        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 = "10:00";
        String Tue = "10:00";
        String Wed = "10:00";
        String Thu = "10:00";
        String Fri = "10:00";


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

        String reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. If there are any additional charges arising out of the same Class 3 or 4 incident that are issued on a warrant, all the charges (including the Class 3 or 4) should be set for a regular return date.";

        jdr.Reminder_Create(reminder, "Return");


        weekAll = new int[] { 0 }; //	First Tuesday, 10:00 am; or First or third Wednesday, 2:00 pm.
        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 = "8:30";
        Tue = "10:00";
        Wed = "14:00";
        Thu = "8:30";
        Fri = "8:30";

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


        reminder = "If the “whichever comes first” day is a Tuesday, set the “crossover” court as JDR.";
        jdr.Reminder_Create(reminder, "CrossOver");

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

        weekAll = new int[] { 0 };  //***********************1 month expire rule
        week1   = new int[] { 2 };
        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 };

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

        DayOfWeekTime = new[] { "", Mon, Tue, Wed, Thu, Fri, "" };
        jdr.DefaultDate_Create("EPO", weekTable, 3, 90, DayOfWeekTime);

        reminder = "This means that EPOs in Highland JDR might be good for an entire month.";
        jdr.Reminder_Create(reminder, "EPO");
    }
Exemple #18
0
    private void JDR_Create()
    {
        DateHandler jdr = new DateHandler("Bath", "Juvenile and Domestic Relations");



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

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

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


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

        String reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. If there are any additional charges arising out of the same Class 3 or 4 incident that are issued on a warrant, all the charges (including the Class 3 or 4) should be set for a regular return date.";

        jdr.Reminder_Create(reminder, "Return");


        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, "" };
        jdr.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


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

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

        weekAll = new int[] { 0 };
        week1   = new int[] { 0 };
        week2   = new int[] { 2 };
        week3   = new int[] { 0 };
        week4   = new int[] { 1 };
        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, "" };
        jdr.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        jdr.DateException_Create("Return", weekTable, 1, 7, "9:00");
    }
    private void GDC_Create()
    {
        DateHandler gdc = new DateHandler("Highland", "General District");



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

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

        String Mon = "14:00";
        String Tue = "14:00";
        String Wed = "14:00";
        String Thu = "14:00";
        String Fri = "14:00";


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

        String reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. If there are any additional charges arising out of the same Class 3 or 4 incident that are issued on a warrant, all the charges (including the Class 3 or 4) should be set for a regular return date.";

        gdc.Reminder_Create(reminder, "Return");


        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 = "8:30";
        Tue = "8:30";
        Wed = "8:30";
        Thu = "8:30";
        Fri = "8:30";

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


        reminder = "If the “whichever comes first” day is a Tuesday, set the “crossover” court as JDR (10:00 am).";
        gdc.Reminder_Create(reminder, "CrossOver");

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

        weekAll = new int[] { 0 }; //atleast 3 day's after today's date
        week1   = new int[] { 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, "" };
        gdc.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);
    }
    private void GDC_Create()
    {
        DateHandler gdc = new DateHandler("Staunton", "General District");



        int[] weekAll = new int[] { 0 }; //two weeks from today’s date.
        int[] week1   = new int[] { 3, 5 };
        int[] week2   = new int[] { 3, 5 };
        int[] week3   = new int[] { 3, 5 };
        int[] week4   = new int[] { 3, 5 };
        int[] week5   = new int[] { 3 };

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

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


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

        String reminder = "if LEO is complainant, do set the following for LEO’s next court date (at least two weeks out from today’s date) at 9:30 am: - Drunk in Public-18.2-388;  - Driving on a suspended license (1st offense)-46.2-301; - Allowing an unlicensed person to drive-46.2-349; - Failure to update a license-46.2-324; - No Operator's license-46.2-300; - Hit & Run-46.2-894/896; - Littering on highway-18.2-324; - Fail to allow an emergency vehicle to pass-46.2-829; - Reckless Driving- 46.2-852; - Improper control of a motor vehicle-46.2-853; - Driving too fast for road conditions 46.2-861; - Underage possession of alcohol (1st offense) 4.1-305; - Trespass-generally 18.2-119; and - Improper Registration -46.2-613(2)";

        gdc.Reminder_Create(reminder, "Return");

        reminder = "if one of the charges listed above accompanies any other charge not listed above, set all charges for a regular return date.";
        gdc.Reminder_Create(reminder, "Return");

        reminder = "If LEO obtains a Class 3 or 4 charge, use LEO’s next court date. If there are any additional charges arising out of the same Class 3 or 4 incident that are issued on a warrant, all the charges (including the Class 3 or 4) should be set for a regular return date.";
        gdc.Reminder_Create(reminder, "Return");


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

        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, "" };
        gdc.DefaultDate_Create("CrossOver", weekTable, 1, 1000, DayOfWeekTime);


        reminder = "If the “whichever comes first” day is a Wednesday or Friday (except the fifth Friday) set the “crossover” court as GDC.";
        gdc.Reminder_Create(reminder, "CrossOver");

        reminder = "If the “whichever comes first” day is a Monday, Tuesday, Thursday, or fifth Friday, set the “crossover” court as JDR.";
        gdc.Reminder_Create(reminder, "CrossOver");

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

        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, "" };
        gdc.DefaultDate_Create("EPO", weekTable, 3, 1000, DayOfWeekTime);


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

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


        gdc.DateException_Create("Return", weekTable, 1, 21, "9:30");
    }