Platform persistence support

In the calendar server, the platform understands recurrence rules and recurrence exceptions. The platform includes formula functions that application builders can use to generate the appropriate data for the event fields.

Table 1. Platform persistence support
Name Platform Persistence Support Description
START_DT    
END_DT    
QUERY_END_DT createQueryEndDateFromEvent(eventRecordId) Utilizing the START_DT, END_DT, and RRULE of an event record, the platform returns the date-time to be populated in the QUERY_END_DT field.
RRULE

getRruleFromEventUi(eventUiRecordId)

applyRruleToEventUi(rRule,eventUiRecordId)

Although RRULE is the format understood by the platform at runtime, an application can expose recurrence management in a more structured way. The getRruleFromEventUi() and applyRruleToEventUi() functions get the RRULE in to and out of the more structured, user friendly data structure. This is discussed in "Recurrence rules for user interface".
TZNAME    
RECURRENCE_ID    
EXDATE createRecurrenceExDate(contextRecordId,associationName,dateTimeFieldName) Although EXDATE is the format understood by the platform at runtime, an application builder can expose exception management in a more structured, usable way. The createRecurrenceExDate() function constructs an EXDATE from the more structured representation. This is discussed in "Exception dates in recurring events".
NAME    

Platform formula functions are described in Application Building for the IBM TRIRIGA Application Platform: Calculations.