KBI 311187 Calendar Definitions In Argent Global Manager

Version

Argent Global Manager all versions

Date

Thursday, 26 March 2015

Summary

The Calendar definitions in Argent Global Manager, helps in defining a schedule

Technical Background

Calendars are used to create elaborate schedules for performing tasks

Calendars are split into three types of definitions:

  • Period Definition
  • Every Definition
  • Base Definition

Period Definition

A Period calendar definition is used to define – surprisingly – a period of time in terms of days

There is no limit to the number of days that can be defined with a Period definition – it can be as short as two days and as long as 10 years

The sample PRD_MONTHLY definition is shown below

It consists of 12 lines, one for each month of the year

Note the final line in a Period definition must have an end date specified as well as a start date

With Period definitions, it is possible to use a wildcard for the year – a Period definition may be fixed from one specific date to another specific date, or, more commonly, the wildcard for the year is used and the Period is essentially infinite

The use of the wildcard for the year is specified on the daughter C51 screen

Every Definition

The Every calendar definition is the second half of the Period x Every matrix product

The Every definition defines the frequency to be used, such as ‘every first Monday in the Period’, or ‘the even days in the Period’, and so on

For Every calendar definition one of six options is specified

The Holiday options are:

  • Use Prior Non-Holiday Weekday
  • Use Next Non-Holiday Weekday
  • Use Prior Non-Holiday Day
  • Use Prior Non-Holiday Day
  • Skip Day Completely
  • No Holiday Test At All

Use Of HOLIDAY

In conjunction with all Every calendar definitions, there is a special entry called the HOLIDAY calendar definition, as shown below

By the use of the HOLIDAY calendar definition to an Every entry, all special cases can be handled

Once the Period, Every and HOLIDAY entries are defines, these are combined in a base calendar entry, shown below

The use of Period, Every and HOLIDAY entries in combination lead to both extremely powerful and complex calendar options

Base Definitions

The Base Definitions describe the actual Calendar schedule

Base Definitions are used in two ways:

  • Stand-alone — describing days of the week, or specific dates
  • Combining Every and Period definitions — creating elaborate schedules using the Every and Period matrix product

Resolution

N/A