public class DateContainer extends java.lang.Object implements java.lang.Comparable<DateContainer>, SettableTimespanI
log
L10N_KEY_ERR_INCONSISTENT_DATES, L10N_KEY_ERR_INDET_NUMBER_OVERLAPPING, L10N_KEY_ERR_UNWANTED_OPEN_TIMESPAN
Constructor and Description |
---|
DateContainer(java.util.Date from,
java.util.Date till) |
DateContainer(TimespanI ts) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DateContainer odc)
comparison takes place by first looking at starting dates, if same the ending date decides
|
boolean |
endsWith(DateContainer odc) |
boolean |
equals(java.lang.Object o) |
java.util.Date |
getBis() |
java.util.Date |
getDateEnd() |
java.util.Date |
getDateStart() |
long |
getDauer() |
java.util.Date |
getVon() |
void |
setBis(java.util.Date d) |
void |
setDateEnd(java.util.Date d) |
void |
setDateStart(java.util.Date d) |
void |
setVon(java.util.Date d) |
boolean |
startsWith(DateContainer odc) |
java.lang.String |
toString() |
java.lang.String |
toString(boolean showHash) |
getClass, hashCode, notify, notifyAll, wait, wait, wait
initStartAndEndDate, limitTo
checkConsistentDates, 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, startsBeforeOrOnEndOf
public DateContainer(TimespanI ts)
public DateContainer(java.util.Date from, java.util.Date till)
public java.util.Date getVon()
public void setVon(java.util.Date d)
public java.util.Date getBis()
public void setBis(java.util.Date d)
public void setDateStart(java.util.Date d)
setDateStart
in interface SettableTimespanI
public void setDateEnd(java.util.Date d)
setDateEnd
in interface SettableTimespanI
public java.util.Date getDateStart()
getDateStart
in interface TimespanI
public java.util.Date getDateEnd()
getDateEnd
in interface TimespanI
public long getDauer()
public int compareTo(DateContainer odc)
compareTo
in interface java.lang.Comparable<DateContainer>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean startsWith(DateContainer odc)
public boolean endsWith(DateContainer odc)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean showHash)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.