org.sandev.TaskHeap.util
Class TaskUtil

java.lang.Object
  extended by org.sandev.TaskHeap.util.TaskUtil

public class TaskUtil
extends java.lang.Object

Handy utilities for dealing with Tasks.


Constructor Summary
TaskUtil()
           
 
Method Summary
static boolean isClosed(Task task)
          Return true if the given task has no total time due since it was closed out rather than completed.
static boolean isFinishedOrClosed(Task task)
          Return true if the given task has no remaining time due to its status being finished or closed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskUtil

public TaskUtil()
Method Detail

isFinishedOrClosed

public static boolean isFinishedOrClosed(Task task)
Return true if the given task has no remaining time due to its status being finished or closed.


isClosed

public static boolean isClosed(Task task)
Return true if the given task has no total time due since it was closed out rather than completed.