The field is the event time of the event as part of the time series.

Namespace: TeaTime
Assembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: 1.0.0.16 (1.0.0.16)

Syntax

public bool IsEventTime { get; set; }

Remarks

Not every field holding time represents the event time. Example: A data feed delivers trade prices together with a time at which the trades occured. A local subscriber to this feed wants to measure the delay at which this data arrives. To do so, an event is defined as:
CopyC#
struct ArrivalEvent
{
    DateTime    TradeTime;
    double      Price;
    [EventTime]
    DateTime    ArrivalTime;
}
This struct holds 2 time fields but only one of them can hold the event time. The event time must have non-decreassing values (each value is >= the previous value) which is certainly the case for the ArrivalTime field. If the data feed guarantees delivery in temporal order, the TradeTime field could also be used as the event time field. If a struct holds more than one DateTime fields, one field must be specified as the event time, using EventTimeAttribute.

See Also