Package org.openfaces.component.timetable

Examples of org.openfaces.component.timetable.ReservedTimeEvent


        events.add(new TimetableEvent(generateEventId(), todayAt(20, 0), todayAt(23, 0), "MY BIRTHDAY", "There will be a lot of magic wands", green, alex.getId()));

//        yesterday
        events.add(new TimetableEvent(generateEventId(), yesterdayAt(9, 0), yesterdayAt(15, 30), "WORK", "Short day, will visit a doctor", blue, andrew.getId()));
        events.add(new TimetableEvent(generateEventId(), yesterdayAt(16, 30), yesterdayAt(17, 30), "DOCTOR CONSULTATION", "Once-a-year visit", blue, andrew.getId()));
        events.add(new ReservedTimeEvent(generateEventId(), andrew.getId(), yesterdayAt(18, 30), yesterdayAt(19, 30)));

        events.add(new TimetableEvent(generateEventId(), yesterdayAt(10, 0), yesterdayAt(12, 30), "IREN FOTOSET", "Cute Iren with mother.<br/>Iren's mother phone: +1 (555) 987 98 12", orange, lucie.getId()));
        events.add(new TimetableEvent(generateEventId(), yesterdayAt(16, 30), yesterdayAt(19, 0), "NATIONAL GEOGRAPHIC", "Show photos to NG and close the deal.", orange, lucie.getId()));

        events.add(new TimetableEvent(generateEventId(), yesterdayAt(9, 0), yesterdayAt(11, 30), "BUY FOOD", "Beer, bread and circuses", green, alex.getId()));
        events.add(new TimetableEvent(generateEventId(), yesterdayAt(13, 30), yesterdayAt(21, 0), "VISIT PARENTS", "Mom asked for my old cell phone.", green, alex.getId()));

//        tomorrow
        events.add(new ReservedTimeEvent(generateEventId(), andrew.getId(), tomorrowAt(6, 0), tomorrowAt(8, 30)));
        events.add(new TimetableEvent(generateEventId(), tomorrowAt(9, 0), tomorrowAt(19, 30), "WORK", "As usual", blue, andrew.getId()));
        events.add(new TimetableEvent(generateEventId(), tomorrowAt(20, 30), tomorrowAt(23, 30), "WENDY", "Table is reserved at Potato House", blue, andrew.getId()));

        events.add(new ReservedTimeEvent(generateEventId(), lucie.getId(), tomorrowAt(6, 0), tomorrowAt(12, 30)));
        events.add(new TimetableEvent(generateEventId(), tomorrowAt(14, 0), tomorrowAt(15, 0), "BRUCE ECKEL PRESS CONFERENCE", "Take 50D with EF 28-300", orange, lucie.getId()));
        events.add(new TimetableEvent(generateEventId(), tomorrowAt(17, 30), tomorrowAt(20, 0), "SIGN CONTEST", "", orange, lucie.getId()));

        events.add(new TimetableEvent(generateEventId(), tomorrowAt(8, 30), tomorrowAt(11, 30), "CLEAN HOUSE FROM GUESTS", "Andrew will go the first", green, alex.getId()));
        events.add(new TimetableEvent(generateEventId(), tomorrowAt(13, 0), tomorrowAt(16, 0), "CHECK NEW KITE VIDEO", "Lucie promised to give me the \"Lines\".", green, alex.getId()));
View Full Code Here


                "Instructor: Melany Scott <br/>Fee: $25", red1));
        events.add(new TimetableEvent(generateEventId(), DayTableBean.todayAt(15, 30), DayTableBean.todayAt(17, 30), "Intro to Yoga",
                "Instructor: Tony Bricks <br/>Fee: Free", orange));
        events.add(new TimetableEvent(generateEventId(), DayTableBean.todayAt(17, 55), DayTableBean.todayAt(19, 25), "Gentle Yoga, Level 1",
                "Instructor: Alex West <br/>Fee: $30", blue));
        ReservedTimeEvent reservedTimeEvent1 = new ReservedTimeEvent(generateEventId(), null, DayTableBean.todayAt(19, 45), DayTableBean.todayAt(20, 15));
        events.add(reservedTimeEvent1);
        reservedTimes.add(reservedTimeEvent1);
        events.add(new TimetableEvent(generateEventId(), DayTableBean.todayAt(21, 40), DayTableBean.todayAt(23, 30), "Meditation",
                "Instructor: Gregory House <br/>Fee: $20", green));

        //yesterday
        events.add(new TimetableEvent(generateEventId(), DayTableBean.yesterdayAt(7, 0), DayTableBean.yesterdayAt(8, 20), "Yoga, Level 1",
                "Instructor: Ivan Doe <br/>Fee: $40", red1));
        events.add(new TimetableEvent(generateEventId(), DayTableBean.yesterdayAt(9, 0), DayTableBean.yesterdayAt(11, 30), "Meditation",
                "Instructor: Tony Bricks <br/>Fee: $20", green));
        events.add(new TimetableEvent(generateEventId(), DayTableBean.yesterdayAt(13, 0), DayTableBean.yesterdayAt(14, 55), "Yoga, Level 3",
                "Instructor: Melany Scott <br/>Fee: $25", red2));
        events.add(new TimetableEvent(generateEventId(), DayTableBean.yesterdayAt(19, 55), DayTableBean.yesterdayAt(19, 25), "Gentle Yoga For Those with Special Considerations",
                "Instructor: Alex West <br/>Fee: $25", blue));
        ReservedTimeEvent reservedTimeEvent2 = new ReservedTimeEvent(generateEventId(), null, DayTableBean.yesterdayAt(21, 5), DayTableBean.yesterdayAt(24, 0));
        events.add(reservedTimeEvent2);
        reservedTimes.add(reservedTimeEvent2);

        //tomorrow
        events.add(new TimetableEvent(generateEventId(), DayTableBean.tomorrowAt(8, 30), DayTableBean.tomorrowAt(11, 30), "Meditation",
View Full Code Here

        events.add(new TimetableEvent(generateEventId(), todayTime(13, 15), todayTime(13, 45), "OpenFaces meeting", "Сегодняшний митинг по кипукиту", red1));
        events.add(new TimetableEvent(generateEventId(), tomorrowTime(13, 15), tomorrowTime(13, 45), "OpenFaces meeting", "Завтрашний митинг по кипукиту", red1));
        events.add(new TimetableEvent(generateEventId(), tomorrowTime(3, 15), tomorrowTime(3, 45), "Event 7", "Ещё ивэнт", red1, r4.getId()));
        events.add(new TimetableEvent(generateEventId(), tomorrowTime(10, 30), tomorrowTime(11, 0), "Ещё один ивэнт на завтра", "Какой-нибудь дескрипшен", null, r2.getId()));
        events.add(new TimetableEvent(generateEventId(), todayTime(7, 45), todayTime(9, 30), "Ивэнт на сегодня", "Какой-нибудь дескрипшен", null, r3.getId()));
        events.add(new ReservedTimeEvent(generateEventId(), r3.getId(), todayTime(14, 0), todayTime(16, 10)));
        events.add(new ReservedTimeEvent(generateEventId(), r2.getId(), todayTime(15, 30), todayTime(16, 30)));

        for (AbstractTimetableEvent event : events) {
            AbstractTimetableEvent simpleEvent = (AbstractTimetableEvent) event.clone();
            simpleEvent.setResourceId(null);
            simpleEvents.add(simpleEvent);
View Full Code Here

                "Instructor: Melany Scott <br/>Fee: $25", red1));
        events.add(new TimetableEvent(generateEventId(), todayAt(15, 30), todayAt(17, 30), "Intro to Yoga",
                "Instructor: Tony Bricks <br/>Fee: Free", orange));
        events.add(new TimetableEvent(generateEventId(), todayAt(17, 55), todayAt(19, 25), "Gentle Yoga, Level 1",
                "Instructor: Alex West <br/>Fee: $30", blue));
        ReservedTimeEvent reservedTimeEvent1 = new ReservedTimeEvent(generateEventId(), null, todayAt(19, 45), todayAt(20, 15));
        events.add(reservedTimeEvent1);
        reservedTimes.add(reservedTimeEvent1);
        events.add(new TimetableEvent(generateEventId(), todayAt(21, 40), todayAt(23, 30), "Meditation",
                "Instructor: Gregory House <br/>Fee: $20", green));

        //yesterday
        events.add(new TimetableEvent(generateEventId(), yesterdayAt(7, 0), yesterdayAt(8, 20), "Yoga, Level 1",
                "Instructor: Ivan Doe <br/>Fee: $40", red1));
        events.add(new TimetableEvent(generateEventId(), yesterdayAt(9, 0), yesterdayAt(11, 30), "Meditation",
                "Instructor: Tony Bricks <br/>Fee: $20", green));
        events.add(new TimetableEvent(generateEventId(), yesterdayAt(13, 0), yesterdayAt(14, 55), "Yoga, Level 3",
                "Instructor: Melany Scott <br/>Fee: $25", red2));
        events.add(new TimetableEvent(generateEventId(), yesterdayAt(19, 55), yesterdayAt(19, 25), "Gentle Yoga For Those with Special Considerations",
                "Instructor: Alex West <br/>Fee: $25", blue));
        ReservedTimeEvent reservedTimeEvent2 = new ReservedTimeEvent(generateEventId(), null, yesterdayAt(21, 5), yesterdayAt(24, 0));
        events.add(reservedTimeEvent2);
        reservedTimes.add(reservedTimeEvent2);

        //tomorrow
        events.add(new TimetableEvent(generateEventId(), tomorrowAt(8, 30), tomorrowAt(11, 30), "Meditation",
View Full Code Here

TOP

Related Classes of org.openfaces.component.timetable.ReservedTimeEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.