Package TimeTable

Examples of TimeTable.DayOfWeek


            return dayOfWeek.getTitle();
        }

        @Override
        public Object getValueAt(int rowIndex, int col) {
            DayOfWeek dayOfWeek = DayOfWeek.createEurope(col);
            if (swl.isWeekend(dayOfWeek)) {
                return "Выходной день";
            } else {
                TimeOffset begin = swl.getTimeBegin(dayOfWeek);
                TimeOffset end = swl.getTimeEnd(dayOfWeek);
View Full Code Here


    }

    public SheduledDay getSheduledDay(Day day) throws ClipsException {
        SheduledDay res = new SheduledDay();
        //week
        DayOfWeek dow = day.getDayOfWeek();
        TimeOffset timeBegin = swl.getTimeBegin(dow);
        res.setClinicShiftBegin(timeBegin);
        res.setClinicShiftDuration(swl.getTimeEnd(dow).getRaw() - timeBegin.getRaw());
        //Возможно выходной
        if (res.getClinicShiftDuration() == 0) {
View Full Code Here

TOP

Related Classes of TimeTable.DayOfWeek

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.