Calendar events module. Calendar events are described in detail in Calendar Events article.

Methods

inline getEvent (t:String):Null<_CalendarEvent>

Returns calendar event type structure.

Parameters:

t

Calendar event type. Returns null if not found.

Returns:

Calendar event type.

getEventStage (eventID:Int, stageID:Int, dateFormat:Bool):{params:Dynamic, date:String}

Returns calendar event stage row.

Parameters:

eventID

Calendar event ID.

stageID

Event stage ID.

dateFormat

If set to true, will format date as DD.MM.YYYY. DD Mon YYYY otherwise.

Returns:

params - event stage parameters object. date - event stage starting date.

iterator ():Iterator<_CalendarEvent>

Returns calendar event types iterator.

Returns:

Calendar event types iterator.

inline registerEvent (e:_CalendarEvent):Void

Registers new calendar event type for editing.

Parameters:

e

Calendar event.