org.jwaf.schedule
Class WorkDateTime

java.lang.Object
  |
  +--org.jwaf.schedule.WorkDateTime

public class WorkDateTime
extends java.lang.Object

This is an extension of the Date object that work with business days (excluding holidays).


Field Summary
 java.util.Date date
           
 
Constructor Summary
WorkDateTime()
           
 
Method Summary
 WorkDateTime addDays(java.lang.Integer daysToAdd)
           
 int differenceInDays(WorkDateTime dateTime)
           
 WorkDateTime subtractDays(WorkDateTime dateTime, java.lang.Integer daysToAdd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

public java.util.Date date
Constructor Detail

WorkDateTime

public WorkDateTime()
Method Detail

addDays

public WorkDateTime addDays(java.lang.Integer daysToAdd)

differenceInDays

public int differenceInDays(WorkDateTime dateTime)

subtractDays

public WorkDateTime subtractDays(WorkDateTime dateTime,
                                 java.lang.Integer daysToAdd)