aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/cbaines/suca/SotonCalendarParser.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/cbaines/suca/SotonCalendarParser.java b/src/net/cbaines/suca/SotonCalendarParser.java
index a867063..9a5891e 100644
--- a/src/net/cbaines/suca/SotonCalendarParser.java
+++ b/src/net/cbaines/suca/SotonCalendarParser.java
@@ -74,7 +74,7 @@ public class SotonCalendarParser implements CalendarParser {
handler.propertyValue("-//Chris Baines + Henco Appel//SouthamptonUniversityOrganiser//EN");
handler.endProperty(Property.NAME);
- Calendar startOfTerm = UniTermDates.getStartOf(UniTermDates.SEMESTER_1, currentYear - 1);
+ Calendar startOfTerm = UniTermDates.getStartOf(UniTermDates.SEMESTER_1, currentYear);
logCalendar("Semester 1 start time ", startOfTerm);
@@ -307,7 +307,7 @@ public class SotonCalendarParser implements CalendarParser {
}
if (mergeHeaders) {
- for (int year = UniTermDates.YEAR_BEGINING_2011; year < UniTermDates.YEAR_BEGINING_2019; year++) {
+ for (int year = currentYear; year < UniTermDates.YEAR_BEGINING_2019; year++) {
if (showSemesterWeeks) {
}
@@ -329,7 +329,7 @@ public class SotonCalendarParser implements CalendarParser {
}
for (int period : periods) {
- for (int year = UniTermDates.YEAR_BEGINING_2011; year < UniTermDates.YEAR_BEGINING_2019; year++) {
+ for (int year = currentYear; year < UniTermDates.YEAR_BEGINING_2019; year++) {
log("Looking at " + periodNames[period]);
@@ -372,7 +372,7 @@ public class SotonCalendarParser implements CalendarParser {
if (showSemesterWeeks) {
- for (int year = UniTermDates.YEAR_BEGINING_2011; year < UniTermDates.YEAR_BEGINING_2019; year++) {
+ for (int year = currentYear; year < UniTermDates.YEAR_BEGINING_2019; year++) {
// Semester 1
Calendar semester1StartDate = UniTermDates.getStartOf(UniTermDates.SEMESTER_1, year);