Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.sql.Time;
- import java.util.Calendar;
- import java.util.Date;
- /**
- * Created by LabSu14 on 11/7/2016.
- */
- public class Test {
- public static void main(String[] args){
- //initialize and set up
- final int MILLISECONDS_PER_HOUR = 3600000;
- Section[] sections = new Section[15];
- Faculty[] faculties = new Faculty[7];
- Calendar[] dobs = new Calendar[7];
- dobs[0].set(89, Calendar.MARCH, 2, 0, 0);
- faculties[0] = new Faculty("Robert","Johnson","293819282", new Address("430 Johnburry Street", "Little Town", "NC", "42422"), dobs[0], "01", new Section[0] );
- dobs[1].set(78, Calendar.APRIL, 5, 0, 0);
- faculties[1] = new Faculty("Gaston","Hires","583930298", new Address("899 Aston Drive", "Rochell", "NC", "28778"), dobs[1], "02", new Section[0] );
- dobs[2].set(69, Calendar.DECEMBER, 24, 0, 0);
- faculties[2] = new Faculty("Cynthia","Walker","392838475", new Address("2390 Ganburry Lane", "Jamestown", "NC", "38499"), dobs[2], "03", new Section[0] );
- dobs[3].set(96, Calendar.OCTOBER, 23, 0, 0);
- faculties[3] = new Faculty("Kable","Young","293849508", new Address("23989 Weston Drive", "Greensboro", "NC", "27246"), dobs[3], "04", new Section[0] );
- dobs[4].set(89, Calendar.NOVEMBER, 13, 0, 0);
- faculties[4] = new Faculty("Gary","Samuel","393849484", new Address("2390 Ganburry Lane", "Jamestown", "NC", "38499"), dobs[4], "05", new Section[0] );
- dobs[5].set(35, Calendar.JULY, 16, 0, 0);
- faculties[5] = new Faculty("Hank","Smith","293839383", new Address("2390 Glendevon Court", "Whitsett", "NC", "27377"), dobs[5], "06", new Section[0] );
- dobs[6].set(79, Calendar.MARCH, 3, 0, 0);
- faculties[6] = new Faculty("Johnathan","Gatsby","192839383", new Address("2390 Hillcrest Avenue", "Burlington", "NC", "34898"), dobs[6], "07", new Section[0] );
- sections[0] = new Section("ACC 120", "Principles of Financial Accounting", "This course introduces business decision-making using accounting information systems.", "FCT01", new Time(MILLISECONDS_PER_HOUR * 10), "M, W, H", "214", "Cameron Buisness and Industry", faculties[0] );
- sections[1] = new Section("ENG 111", "General Writing and Inquiry", "This course is designed to develop the ability to produce clear writing in a variety of genres and formats using a recursive process.", "FGT01",new Time(MILLISECONDS_PER_HOUR * 12), "M, W, F", "237", "Continuing Education Center", faculties[1] );
- sections[2] = new Section("BIO 111", "General Biology 1", "This course introduces the principles and concepts of biology.", "GTCI01", new Time(MILLISECONDS_PER_HOUR * 12 + MILLISECONDS_PER_HOUR /2), "T, H", "344", "Applied Biologies Center", faculties[2]);
- sections[3] = new Section("AHR 110", "Introduction to Refrigeration", "This course introduces the basic refrigeration process used in mechanical refrigeration and air conditioning systems.", "EIJLE02", new Time(MILLISECONDS_PER_HOUR * 11), "M", "532", "Learning Tower", faculties[3]);
- sections[4] = new Section();
- sections[5] = new Section();
- sections[6] = new Section();
- sections[7] = new Section();
- sections[8] = new Section();
- sections[9] = new Section();
- sections[10] = new Section();
- sections[11] = new Section();
- sections[12] = new Section();
- sections[13] = new Section();
- sections[14] = new Section();
- sections[15] = new Section();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment