Defining a calendar format

The Gregorian calendar is the default format. You can change the format of the calendar in the config.ini file.

About this task

When you enter a date in a rule, a calendar opens to let you select the date. The default calendar is the Gregorian calendar, but you can specify another type of calendar by adding a property in the config.ini file.

Procedure

To specify a calendar format:

  1. Open <Eclipse_InstallDir>/configuration/config.ini.
  2. Add the com.ibm.rules.studio.calendarType=<calendarName> property.

    For example, com.ibm.rules.studio.calendarType=japanese.

    You can choose one of the following values:

    • gregorian: Gregorian calendar

    • japanese: Japanese calendar

    • buddhist: Buddhist calendar

    • roc: Republic of China calendar

    • persian: Persian calendar

    • islamic-civil: Islamic Civil calendar

    • islamic: Islamic calendar

    • hebrew: Hebrew calendar

    • chinese: Chinese calendar

    • indian: Indian calendar

    • coptic: Coptic or Alexandrian calendar

    • ethiopic: Ethiopic calendar

    • ethiopic-amete-alem: Ethiopic (Amete Alem) calendar

  3. Save the changes.