Package org.blync.client.calendar

Examples of org.blync.client.calendar.CalendarDate


                        days.addElement(new Integer(occurrence.toInt()));
                    }
                }
            }
            else if (type == RecurrencePattern.REC_MONTHLY) {
                CalendarDate startDate = startDay.getCalendarDate();
                for (int i = 1; i <= 24; i++) {
                    Day occurrence = startDate.addMonths(i);
                    if (repeatUntil != null && occurrence.compare(repeatUntil) > 0) {
                        break;
                    }
                    if (!recurrence.isException(occurrence)) {
                        recurrenceDays.addElement(new Integer(occurrence.toInt()));
                        days.addElement(new Integer(occurrence.toInt()));
                    }
                }
            }
            else if (type == RecurrencePattern.REC_YEARLY) {
                CalendarDate startDate = startDay.getCalendarDate();
                for (int i = 1; i <= 5; i++) {
                    Day occurrence = startDate.addYears(i);
                    if (repeatUntil != null && occurrence.compare(repeatUntil) > 0) {
                        break;
                    }
                    if (!recurrence.isException(occurrence)) {
                        recurrenceDays.addElement(new Integer(occurrence.toInt()));
View Full Code Here

TOP

Related Classes of org.blync.client.calendar.CalendarDate

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.