|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITerm
A Term is an interval in time, on any day, a specific day, or a group of days.
| Field Summary | |
|---|---|
static String |
NAME_PREFIX
The name pattern for new objects of this type |
static ITerm[] |
ZERO
A static zero-length array, created for convenience, and to save memory |
| Fields inherited from interface com.azalient.api.a.tables.IRecord |
|---|
DELETED, KEY_SEP, KEY_SEP_CHAR |
| Method Summary | |
|---|---|
boolean |
appliesAt(UTime t,
DayOfWeek day)
Returns true if the term matches time and day. |
DayOfWeek |
day()
Returns the day of the week for this term |
void |
day(DayOfWeek day)
Sets the day of the week for this term |
UTime |
duration()
Returns the he duration of the term (= end - start) |
UTime |
end()
Returns the end time of the term |
void |
end(UTime s)
Sets the end time of the term |
UTime |
start()
Returns the start time of the term |
void |
start(UTime s)
Sets the start time of the term |
| Methods inherited from interface com.azalient.api.file.StoreRecordRW |
|---|
canRename, rename, store |
| Methods inherited from interface com.azalient.api.file.RecordR |
|---|
extraSet, finished, isApplicable, isEditable, set |
| Methods inherited from interface com.azalient.api.a.tables.IRecord |
|---|
name |
| Methods inherited from interface com.azalient.api.file.RecordW |
|---|
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile |
| Field Detail |
|---|
static final ITerm[] ZERO
static final String NAME_PREFIX
| Method Detail |
|---|
UTime start()
UTime end()
UTime duration()
void start(UTime s)
void end(UTime s)
boolean appliesAt(UTime t,
DayOfWeek day)
DayOfWeek day()
void day(DayOfWeek day)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||