WatchEvent Module
Functions for working with WatchEvent values.
Functions and values
| Function or value |
Description
|
Full Usage:
dataspecForEvent _arg1
Parameters:
WatchEventType
Returns: string option
Some dataspec code if known, None for unknown events.
|
Maps a WatchEventType to its corresponding JV-Data specification code.
|
Full Usage:
toRealtimeRequest event
Parameters:
WatchEvent
-
The watch event to convert.
Returns: WatchEventRealtimeRequest option
Some request if the event type has a known dataspec, None otherwise.
|
Converts a WatchEvent to a WatchEventRealtimeRequest for JVRTOpen.
|
Full Usage:
tryExtractFromTime rawKey
Parameters:
string
-
The raw key string (expected format: yyyyMMdd...).
Returns: DateTime option
Some DateTime if the first 8 characters parse as a date, None otherwise.
|
Attempts to extract a DateTime from common watch event keys.
|
Xanthos