Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-11-02 14:00:48 -0500
committerspingel2009-11-02 14:00:48 -0500
commitd2fb5a1b9bde8e1f075aba7f166f7164e614fec3 (patch)
treeb72913b3414116e0bdbc9aa6163ee355658484e2 /org.eclipse.mylyn.tasks.core
parent238b57d815e32108403d9cdc833d4b9e069ade32 (diff)
downloadorg.eclipse.mylyn.tasks-d2fb5a1b9bde8e1f075aba7f166f7164e614fec3.tar.gz
org.eclipse.mylyn.tasks-d2fb5a1b9bde8e1f075aba7f166f7164e614fec3.tar.xz
org.eclipse.mylyn.tasks-d2fb5a1b9bde8e1f075aba7f166f7164e614fec3.zip
NEW - bug 293968: [editor] task editor shows Later when task is scheduled for a past week
https://bugs.eclipse.org/bugs/show_bug.cgi?id=293968
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskActivityUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskActivityUtil.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskActivityUtil.java
index b69923f11..6cf419a41 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskActivityUtil.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskActivityUtil.java
@@ -76,13 +76,13 @@ public class TaskActivityUtil {
public static Calendar snapEndOfWeek(Calendar cal) {
- cal.set(Calendar.DAY_OF_WEEK, getLastCalDayInt(cal));
+ cal.set(Calendar.DAY_OF_WEEK, getLastDayOfWeek(cal));
snapEndOfDay(cal);
return cal;
}
- private static int getLastCalDayInt(Calendar cal) {
+ public static int getLastDayOfWeek(Calendar cal) {
int last = cal.getFirstDayOfWeek() - 1;
if (last == 0) {

Back to the top