| # To define patterns Prerequisites Before you define a pattern, you must define the recurrences on which the pattern is based. For more information, refer to To define recurrences. To create patterns A pattern consists of pattern moments based on one or more recurrences, pattern exceptions, and times of day, as shown in the following diagram: Generating a pattern's pattern moments. To combine recurrences You can combine multiple recurrences, as shown in the following diagram: Combining recurrences and exceptions into a pattern. In this diagram, pattern PATRN1 is based on two recurrences: R0001 and R0002. Recurrence R0001 selects every Monday and Friday. Recurrence R0002 selects the 12th and 24th of every month. PATRN 1 has one exception, which excludes January 1st of every year. Procedure To define a pattern, complete the following steps: Define recurrences. For more information, refer to To define recurrences. Use the Patterns (tcccp0190m000) session to define a pattern code. Use the Recurrences by Pattern (tcccp0191m000) session to add the recurrences to the pattern. Use the Times of Day by Pattern (tcccp0193m000) session to specify the times of day. Times are defined as local times; the time zone is unspecified. Use the Pattern Exceptions (tcccp0192m000) session to specify any exceptions you require. Use the Generate Pattern Moments (tcccp0295m000) session to generate the pattern moments. To view the generated pattern moments, use the Pattern Moments (tcccp0195m000) session. Related topics Overview of calendars and periods To define recurrences To use patterns |