public abstract class AbstractCalendarEntry extends Object implements ICalendarEntry, Comparable<AbstractCalendarEntry>
ICalendarEntry interface.| Constructor and Description |
|---|
AbstractCalendarEntry()
Constructs a new calendar entry with an undefined time span.
|
AbstractCalendarEntry(ITimeSpan span)
Constructs a new calendar entry.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AbstractCalendarEntry entry) |
ITimeSpan |
getTimeSpan()
Returns the time span of the calendar entry.
|
void |
setTimeSpan(ITimeSpan span)
Specifies a new time span for the calendar entry.
|
public AbstractCalendarEntry(ITimeSpan span)
span - the calendar entry's time span allocation.public AbstractCalendarEntry()
TimeSpan.UNDEFINEDpublic void setTimeSpan(ITimeSpan span)
span - the calendar entry's new time spanpublic ITimeSpan getTimeSpan()
ICalendarEntrygetTimeSpan in interface ICalendarEntrypublic int compareTo(AbstractCalendarEntry entry)
compareTo in interface Comparable<AbstractCalendarEntry>Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.