Constructor and Description |
---|
OASchedule() |
Modifier and Type | Method and Description |
---|---|
void |
add(OADateTime dtBegin,
OADateTime dtEnd)
Add a date range.
|
void |
add(OADateTime dtBegin,
OADateTime dtEnd,
R reference) |
void |
clear() |
void |
clear(OADateTime dtBegin,
OADateTime dtEnd)
Clear a time range that might already be scheduled.
|
int |
getSize() |
boolean |
isEndOfList()
true if next has exhausted the list.
|
boolean |
isRangeAdded(OADateTime dt) |
Iterator<com.viaoa.scheduler.OADateTimeRange<R>> |
iterator() |
com.viaoa.scheduler.OADateTimeRange<R> |
next()
Get the next dtr, starting at the beginning and each call to next will be the next one in order.
|
com.viaoa.scheduler.OADateTimeRange<R> |
nextEmpty() |
void |
reset()
rewind so that next will start from the beginning.
|
void |
rewind() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void clear(OADateTime dtBegin, OADateTime dtEnd)
public void add(OADateTime dtBegin, OADateTime dtEnd)
public void add(OADateTime dtBegin, OADateTime dtEnd, R reference)
public boolean isEndOfList()
public void reset()
public void rewind()
public int size()
public int getSize()
public com.viaoa.scheduler.OADateTimeRange<R> next()
public com.viaoa.scheduler.OADateTimeRange<R> nextEmpty()
public void clear()
public boolean isRangeAdded(OADateTime dt)
Copyright © 1999–2025 ViaOA. All rights reserved.