SkytimesUtils
Index
Constructors
constructor
Returns SkytimesUtils
Methods
publicstaticallEventDetails
Same as getEventDetails but for all of the events
Returns [EventKey, EventDetails][]
An array of event details
publicstaticgetAllTimes
Get all occurrences of an event for the given date
Parameters
Name Type Default Description eventTime DateTime<boolean> The DateTime for which to get all occurrences
optionalinterval number The interval between the event occurrences
Returns string
publicstaticgetEventDetails
Get the details about an event, their status, next occurrence, all occurrences for the day
Parameters
Name Type Default Description key EventKey The event key
Returns EventDetails
publicstaticgetEventStatus
publicstaticgetNextEventOccurrence
Get the next occurrence of the event relative to now
Parameters
Name Type Default Description eventName EventKey The key of the event
Returns DateTime<boolean>
Utilities for skytimes