~cszikszoy/do-plugins/msbuild-format

« back to all changes in this revision

Viewing changes to RememberTheMilk/src/RTMTaskItem.cs

  • Committer: Peng Deng
  • Date: 2009-03-18 14:51:18 UTC
  • mfrom: (572.2.8 rtm-seturl)
  • Revision ID: pdeng@berlin-20090318145118-h4jdslnrh0378x3s
Merge Jonathan's work on RTM (adding seturl action, fixing setdue bug)

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        private string name;
34
34
        private DateTime due;
35
35
                private DateTime completed;
 
36
        private string url;
36
37
        private string priority;
37
38
        private int has_due_time;
38
39
 
39
40
        public RTMTaskItem (string listId, string taskSeriesId, string taskId, string name) :
40
 
            this (listId, taskSeriesId, taskId, name, DateTime.MinValue, DateTime.MinValue, "N", 0)
 
41
            this (listId, taskSeriesId, taskId, name, DateTime.MinValue, DateTime.MinValue, "", "N", 0)
41
42
        {
42
43
        }
43
44
 
44
45
        public RTMTaskItem (string listId, string taskSeriesId, string taskId, string name, 
45
 
                                    DateTime due, DateTime completed, string priority, int hasDueTime)
 
46
                                    DateTime due, DateTime completed, string url, string priority, int hasDueTime)
46
47
        {
47
48
            this.list_id = listId;
48
49
            this.taskseries_id = taskSeriesId;
50
51
            this.name = name;
51
52
            this.due = due;
52
53
                        this.completed = completed;
 
54
            this.url = url;
53
55
            this.priority = priority;
54
56
            this.has_due_time = hasDueTime;
55
57
        }
125
127
        public string TaskSeriesId {
126
128
            get { return taskseries_id; }
127
129
        }
 
130
        
 
131
        public string TaskURL {
 
132
                get { return url; }
 
133
        }
128
134
 
129
135
        public DateTime Due {
130
136
            get { return due; }