This project is read-only.

Task_DueDate.Compare Method

public int Task_DueDate.Compare(Task x, Task y)
Namespace: yaTDL.Comparer


Compares the DueDate property of two Task-objects

Return value:

greater than zero The due date ofx is greater than the priority of y
zero x has the same due date as y
less than zero The due date of x is less than the priority of y


ArgumentException The tasks couldn't be compared


In yaTDL it is possible that no due date for a task has been specified. If this is the case, the DueDate property of this task will be set to 01.01.0001. The Compare() method will consider this.

Last edited Aug 16, 2009 at 7:28 PM by apoll0, version 1


No comments yet.