Public Holidays Comparator

The Public Holidays Comparator component compares a date property with one or more public holidays.

The comparison is true when the date property matches at least one public holiday.

When you insert it in the decision tree, the Public Holidays Comparator creates two separate branches:

When the component is executed, only one branch is activated depending on the test result.

Use

In a price plan, if you want to apply different prices to branches, you may need to compare a property with a set of public holidays. To use the Public Holidays Comparator inside your price plan, do the following:

  1. After you add the component, choose the date property and the public holidays.

  2. Describe the pricing of each decision tree branch by using a Function component.

Example

An operator charges a special price for telephone calls when they begin on a holiday. To do this, the operator compares the “start date of the start of the call” property to the holidays in the United States by using the Public Holidays Comparator component. The following table presents the information that is needed to set up the Public Holidays Comparator component inside the price plan:

Data

Settings

Date property

Start date of the start of the call

Public holidays

US holidays

Pricing rules

Price applied to the “is” branch: $0.15 per minute.

Price applied to the “is not” branch: usual price.

Identification area

Name: Type the name of the component (mandatory).

Description: Allows you to type the description of the component (optional).

Definition tab

Property Name: Provides the list of date properties. Select a date property.

Set the Public Holidays: Allows you to select the public holidays that you want to compare with the date property.

(*): An item can be a region, a country, or anything else. The list of public holidays is created by your administrator. See your application administrator or consult the Configuration Guide for more information. Refer to Help resources.

Note: Do not pay attention to the public holidays that appear dimmed (unavailable) in the list because they are not longer recognized by the SAP CC system and are not longer active in the charges where they are used. For more information, consult the important note in the topic describing how to import public holidays. For more information on the import and export functions, refer to the online Help of SAP CC Core Tool: In the chapter Tools, consult the subchapter Public Holidays).