com.atlassian.bamboo.util
Class BambooDateUtils

java.lang.Object
  extended by com.atlassian.bamboo.util.BambooDateUtils

public class BambooDateUtils
extends Object


Constructor Summary
BambooDateUtils()
           
 
Method Summary
static boolean isWithinDays(Date earlierDate, Date laterDate, long days)
          Returns wherther the laterDate is not later than the number of "days" since the last earlierDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooDateUtils

public BambooDateUtils()
Method Detail

isWithinDays

public static boolean isWithinDays(Date earlierDate,
                                   Date laterDate,
                                   long days)
Returns wherther the laterDate is not later than the number of "days" since the last earlierDate

Parameters:
earlierDate - - must not be null
laterDate - - must not be null
days - - must be a postive integer
Returns:
true if within the number days specified


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.