Calendar entries

A calendar entry is a named period of time. A calendar entry can be any of the following types:
  • Day: one or more days of the week

  • Period: a span of time between one date and time to another date and time. Both date and time must be specified.

  • Time: a period of time that occurs between one time and another time in a 24-hour period.

  • Set: one or more previously defined calendar entries.

    AND logic is used in a calendar entry set and therefore, all members in the set must evaluate as true for the result to be true.

When you define a new calendar base, the following entries are automatically added to it and cannot be deleted:

  • WKN: Day entry for Saturday and Sunday

  • WKD: Day entry for Monday, Tuesday, Wednesday, Thursday and Friday

  • DLY: Day entry for all days in the week

  • SUN: Day entry for Sunday

  • MON: Day entry for Monday

  • TUE: Day entry for Tuesday

  • WED: Day entry for Wednesday

  • THU: Day entry for Thursday

  • FRI: Day entry for Friday

  • SAT: Day entry for Saturday

  • ALWAYS: Period entry for Jan 01, 1992 thru Dec 31, 2041

Calendar set entries

A calendar set uses AND logic, which means all set members must evaluate as TRUE for the set to be true. For example, if you specify MON, WED, and FRI as members of a set, that set always evaluates as FALSE because MON, WED, and FRI cannot all occur at the same time.

However, you can specify a DAY type of calendar named MWF that includes the days MON, WED, and FRI, which evaluates as TRUE when any of those days occur.

In addition, you can create a TIME type a calendar entry named 6-12 that includes the hours 06:00-12:00.

Then, you can create a calendar set entry that includes the DAY entry named MWF and the TIME entry named 6-12. This calendar set would resolve to TRUE on Mondays, Wednesdays, and Fridays between the hours of 6:00 AM and 12:00 PM.

Was this page helpful? Yes No Submitting... Thank you

Comments