public class IntervalTestCase extends Object
Constructor and Description |
---|
IntervalTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertInterval(TimeInterval expected,
TimeInterval actual) |
protected <T extends TimeInterval> |
assertTimeIntervalSequence(T[] intervals,
AbstractTimeIntervalSequence<T> seq) |
protected TimeInterval |
aug(int day) |
protected TimeInterval |
aug(int day,
int beginHour,
int endHour) |
protected TimeInterval |
aug(int startDay,
int startHour,
int endDay,
int endHour) |
protected Date |
date(String dateStr) |
protected TimeInterval |
dec(int day,
int beginHour,
int endHour) |
protected TimeInterval |
dec(int startDay,
int startHour,
int endDay,
int endHour) |
protected TimeInterval |
interval(int startMonth,
int startDay,
int startHour,
int endMonth,
int endDay,
int endHour) |
protected TimeInterval |
jul(int day,
int beginHour,
int endHour) |
protected TimeInterval |
jul(int startDay,
int startHour,
int endDay,
int endHour) |
protected TimeInterval |
jun(int day,
int beginHour,
int endHour) |
protected TimeInterval |
jun(int startDay,
int startHour,
int endDay,
int endHour) |
protected TimeInterval |
nov(int day,
int beginHour,
int endHour) |
protected TimeInterval |
nov(int startDay,
int startHour,
int endDay,
int endHour) |
protected TimeInterval |
oct(int day,
int beginHour,
int endHour) |
protected TimeInterval |
oct(int startDay,
int startHour,
int endDay,
int endHour) |
protected OwnedInterval |
owned(Owner owner,
TimeInterval interval) |
protected OwnedInterval |
owned(TimeInterval interval) |
protected OwnedInterval |
ownedOne(TimeInterval interval) |
protected OwnedInterval |
ownedOneAndTwo(TimeInterval interval) |
protected OwnedInterval |
ownedTwo(TimeInterval interval) |
protected TimeInterval |
sep(int day,
int beginHour,
int endHour) |
protected TimeInterval |
sep(int startDay,
int startHour,
int endDay,
int endHour) |
void |
setUp() |
void |
tearDown() |
protected TimeInterval interval(int startMonth, int startDay, int startHour, int endMonth, int endDay, int endHour) throws Exception
Exception
protected TimeInterval jun(int startDay, int startHour, int endDay, int endHour) throws Exception
Exception
protected TimeInterval jul(int startDay, int startHour, int endDay, int endHour) throws Exception
Exception
protected TimeInterval aug(int startDay, int startHour, int endDay, int endHour) throws Exception
Exception
protected TimeInterval sep(int startDay, int startHour, int endDay, int endHour) throws Exception
Exception
protected TimeInterval oct(int startDay, int startHour, int endDay, int endHour) throws Exception
Exception
protected TimeInterval nov(int startDay, int startHour, int endDay, int endHour) throws Exception
Exception
protected TimeInterval dec(int startDay, int startHour, int endDay, int endHour) throws Exception
Exception
protected TimeInterval jun(int day, int beginHour, int endHour) throws Exception
Exception
protected TimeInterval jul(int day, int beginHour, int endHour) throws Exception
Exception
protected TimeInterval aug(int day, int beginHour, int endHour) throws Exception
Exception
protected TimeInterval sep(int day, int beginHour, int endHour) throws Exception
Exception
protected TimeInterval oct(int day, int beginHour, int endHour) throws Exception
Exception
protected TimeInterval nov(int day, int beginHour, int endHour) throws Exception
Exception
protected TimeInterval dec(int day, int beginHour, int endHour) throws Exception
Exception
protected TimeInterval aug(int day) throws Exception
Exception
protected <T extends TimeInterval> void assertTimeIntervalSequence(T[] intervals, AbstractTimeIntervalSequence<T> seq)
protected void assertInterval(TimeInterval expected, TimeInterval actual)
protected OwnedInterval owned(Owner owner, TimeInterval interval)
protected OwnedInterval owned(TimeInterval interval)
protected OwnedInterval ownedOne(TimeInterval interval)
protected OwnedInterval ownedTwo(TimeInterval interval)
protected OwnedInterval ownedOneAndTwo(TimeInterval interval)
Copyright © 2021. All rights reserved.