Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CampusCalendar |
|
| 1.0;1 |
1 | /** | |
2 | * Copyright 2010 The Kuali Foundation Licensed under the | |
3 | * Educational Community License, Version 2.0 (the "License"); you may | |
4 | * not use this file except in compliance with the License. You may | |
5 | * obtain a copy of the License at | |
6 | * | |
7 | * http://www.osedu.org/licenses/ECL-2.0 | |
8 | * | |
9 | * Unless required by applicable law or agreed to in writing, | |
10 | * software distributed under the License is distributed on an "AS IS" | |
11 | * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | |
12 | * or implied. See the License for the specific language governing | |
13 | * permissions and limitations under the License. | |
14 | */ | |
15 | ||
16 | package org.kuali.student.core.academiccalendar.infc; | |
17 | ||
18 | import java.util.Date; | |
19 | import java.util.List; | |
20 | ||
21 | import org.kuali.student.common.infc.KeyEntity; | |
22 | ||
23 | ||
24 | /** | |
25 | * Information about a Campus Calendar. | |
26 | * | |
27 | * @Author tom | |
28 | * @Since Tue Apr 05 14:22:34 EDT 2011 | |
29 | */ | |
30 | ||
31 | public interface CampusCalendar extends KeyEntity { | |
32 | ||
33 | /** | |
34 | * Name: Start Date | |
35 | * Date and time the campus calendar became effective. This | |
36 | * does not provide a bound on date ranges or milestones | |
37 | * associated with this calendar, but instead indicates the | |
38 | * calendar proper. This is a similar concept to the effective | |
39 | * date on enumerated values. When an expiration date has been | |
40 | * specified, this field must be less than or equal to the | |
41 | * expiration date. | |
42 | */ | |
43 | public Date getStartDate(); | |
44 | ||
45 | /** | |
46 | * Name: Start Date | |
47 | * Date and time the campus calendarexpires. This does not | |
48 | * provide a bound on date ranges or milestones associated with | |
49 | * this calendar, but instead indicates the calendar | |
50 | * proper. If specified, this must be greater than or equal to the | |
51 | * effective date. If this field is not specified, then no | |
52 | * expiration date has been currently defined and should | |
53 | * automatically be considered greater than the effective date. | |
54 | */ | |
55 | public Date getEndDate(); | |
56 | ||
57 | /** | |
58 | * Name: Location | |
59 | * The campus or location to which this calendar pertains. | |
60 | */ | |
61 | public String getLocation(); | |
62 | ||
63 | ||
64 | public List<String> getHolidayKeys(); | |
65 | } |