cs.arizona.tau.time
Class Period
java.lang.Object
cs.arizona.tau.time.Period
public class Period
- extends java.lang.Object
Constructor Summary |
Period(java.util.Date start,
java.util.Date end)
|
Period(java.lang.String start,
java.lang.String end)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Period
public Period(java.lang.String start,
java.lang.String end)
throws java.text.ParseException
- Throws:
java.text.ParseException
Period
public Period(java.util.Date start,
java.util.Date end)
isBefore
public boolean isBefore(Period other)
isAfter
public boolean isAfter(Period other)
isDuring
public boolean isDuring(Period other)
contains
public boolean contains(java.util.Date date)
split
public static java.util.List<Period> split(Period A,
Period B)