org.loom.validator.date
Class ConstantReferralDate

java.lang.Object
  extended by org.loom.validator.date.ConstantReferralDate
All Implemented Interfaces:
ReferralDate

public class ConstantReferralDate
extends java.lang.Object
implements ReferralDate

Returns always the same date


Constructor Summary
ConstantReferralDate(java.lang.String date)
           
 
Method Summary
 org.joda.time.DateTime getDate()
          Returns the date
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantReferralDate

public ConstantReferralDate(java.lang.String date)
Method Detail

getDate

public org.joda.time.DateTime getDate()
Description copied from interface: ReferralDate
Returns the date

Specified by:
getDate in interface ReferralDate