com.pyxis.greenhopper.jira.util
Class Period

java.lang.Object
  extended by com.pyxis.greenhopper.jira.util.Period
All Implemented Interfaces:
java.io.Serializable

public class Period
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Method Summary
 boolean beforeEnd(java.util.Date date)
           
 int daysCount()
           
static Period from(java.util.Date start)
           
static Period fromTo(java.util.Date start, java.util.Date end)
           
 boolean includes(java.util.Date date)
           
static Period to(java.util.Date end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

to

public static Period to(java.util.Date end)

from

public static Period from(java.util.Date start)

fromTo

public static Period fromTo(java.util.Date start,
                            java.util.Date end)

includes

public boolean includes(java.util.Date date)

beforeEnd

public boolean beforeEnd(java.util.Date date)

daysCount

public int daysCount()


Copyright © 2007-2012 Atlassian. All Rights Reserved.