public class UnstrictDateContainer extends DateContainer
logL10N_KEY_ERR_INCONSISTENT_DATES, L10N_KEY_ERR_INDET_NUMBER_OVERLAPPING, L10N_KEY_ERR_UNWANTED_OPEN_TIMESPAN| Constructor and Description |
|---|
UnstrictDateContainer(java.util.Date von,
java.util.Date bis) |
UnstrictDateContainer(TimespanI ts) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DateContainer dc)
comparison takes place by first looking at starting dates, if same the ending date decides
|
boolean |
endsWith(DateContainer dc) |
static UnstrictDateContainer |
intersect(TimespanI one,
TimespanI other) |
static UnstrictDateContainer |
merge(TimespanI one,
TimespanI other) |
boolean |
startsWith(DateContainer dc) |
equals, getBis, getDateEnd, getDateStart, getDauer, getVon, setBis, setDateEnd, setDateStart, setVon, toString, toStringgetClass, hashCode, notify, notifyAll, wait, wait, waitinitStartAndEndDate, limitTocheckConsistentDates, checkConsistentDates, checkConsistentDates, checkIsClosedTimespanWithConsistentDates, checkIsClosedTimespanWithConsistentDates, coversAtMostOneMonth, endsAfterOrOnStartOf, endsAfterOrOnStartOf, equalDates, equalDates, hasUndefinedTimespan, isAlwaysValid, isCompletelyValidDuring, isCompletelyValidDuring, isPartiallyValidDuring, isPartiallyValidDuring, isPartiallyValidDuring, isPartiallyValidDuring, isValid, isValidAt, isValidAt, isValidAtOrAfter, isValidAtOrBefore, isValidFromStartOfTime, isValidOn, isValidUntilEndOfTime, numberOfDays, overlappingDaysWith, overlapsWith, overlapsWith, startsBeforeOrOnEndOf, startsBeforeOrOnEndOfpublic UnstrictDateContainer(TimespanI ts)
public UnstrictDateContainer(java.util.Date von,
java.util.Date bis)
public static UnstrictDateContainer intersect(TimespanI one, TimespanI other)
public static UnstrictDateContainer merge(TimespanI one, TimespanI other)
getDateStart() == null will be interpreted as 'Epoch'
getDateEnd() == null will be interpreted as 'Infinity'
null if both of the given TimespanI-s are nullpublic int compareTo(DateContainer dc)
compareTo in interface java.lang.Comparable<DateContainer>compareTo in class DateContainerpublic boolean startsWith(DateContainer dc)
startsWith in class DateContainerpublic boolean endsWith(DateContainer dc)
endsWith in class DateContainerCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.