Package de.timefinder.data

Examples of de.timefinder.data.CalendarSettings


            @Override
            public void run() {
                JFrame frame = new JFrame("TimeFinder Planner");
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                CalendarSettings settings = new CalendarSettings();

                // set 1/4h as one timeslot, now even half of an hour will be displayed
                settings.setMillisPerTimeslot(15 * 60 * 1000L);
                settings.setTimeslotsPerDay(4 * 8);

                settings.setStartDate(new DateTime(2009, 4, 6, 8, 0, 0, 0));
                TimeFinderPlanner planner = new TimeFinderPlanner(settings);

                // monday
                planner.addInterval(new IntervalLongImpl("Interval 1", 2009, 4, 6, 8, 30, 60));
                planner.addInterval(new IntervalLongImpl("Interval 2", 2009, 4, 6, 9, 0, 60));
View Full Code Here


    private ICalendarSettings settings;

    @Before
    public void setUp() {
        settings = new CalendarSettings();
    }
View Full Code Here

            public void run() {
                JFrame frame = new JFrame("TimeFinder Planner");
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

                CalendarSettings settings = new CalendarSettings();
                ImportJavaOne.overwriteSettings(settings);
                TimeFinderPlanner planner = new TimeFinderPlanner(settings);
                planner.addAllInterval(list);

                frame.setContentPane(planner);
View Full Code Here

    private CalendarSettings settings;

    @Before
    public void setUp() {
        settings = new CalendarSettings();
    }
View Full Code Here

TOP

Related Classes of de.timefinder.data.CalendarSettings

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.