Constructor Function For timeEvent Objects

DESCRIPTION:

Construct a timeEvent object.

USAGE:

timeEvent() 
timeEvent(start., end.=<<see below>>, IDs=<<see below>>) 

REQUIRED ARGUMENTS:

The function can be called with no arguments, but if any are supplied, start. is required.

OPTIONAL ARGUMENTS:

start.
time/date object giving start times of events.
end.
time/date object giving end times of events. If missing, defaults to one day after start., minus 1 millisecond.
IDs
names or numbers identifying individual events in the object. If missing, defaults to empty strings.

VALUE:

a timeEvent object derived from the inputs.

DETAILS:

The start., end. and IDs are put into the corresponding columns of a new timeEvent object.

SEE ALSO:

EXAMPLES:

timeEvent() 
timeEvent(holiday.Christmas( 1990:2010 ), ID = 1990:2010)