Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This release introduces an update to how workdays are defined by NRDB. In the previous definition, a workday is defined as Monday to Friday between 08:00 and 16:00. This definition has changed to Monday to Friday 08:00 to 20:00 and Saturday, 08:00 to 16:00. To facilitate this change, a new class NRDBWorkDay has been introduced. This class tracks the definition of a workday as defined in parameter tree configuration. This change will allow a more flexible handling, where not all days have to have the same length.

Configuration

The following parameter tree node is mandatory:

Parameter

Description

NRDB.WORK_DAY_DEFINITIONS

Configuration of NRDB workday definitions

To configure a day as a workday, enable the following workday definition parameter tree nodes as required:

Parameter

Description

NRDB.WORK_DAY_DEFINITIONS.MONDAY

Configure this parameter tree node to enable Monday as a workday

NRDB.WORK_DAY_DEFINITIONS.TUESDAY

Configure this parameter tree node to enable Tuesday as a workday

NRDB.WORK_DAY_DEFINITIONS.WEDNESDAY

Configure this parameter tree node to enable Wednesday as a workday

NRDB.WORK_DAY_DEFINITIONS.THURSDAY

Configure this parameter tree node to enable Thursday as a workday

NRDB.WORK_DAY_DEFINITIONS.FRIDAY

Configure this parameter tree node to enable Friday as a workday

NRDB.WORK_DAY_DEFINITIONS.SATURDAY

Configure this parameter tree node to enable Saturday as a workday

NRDB.WORK_DAY_DEFINITIONS.SUNDAY

Configure this parameter tree node to enable Sunday as a workday

If a day is not configured (e.g. NRDB.WORK_DAY_DEFINITIONS.SUNDAY) that day will be considered a non-workday. If a workday is configured, the following parameter values are mandatory for that node:

Parameter

Parameter type

Description

START_HOUR

N

The start hour of the workday

END_HOUR

N

The end hour of the workday

Examples:

  • NRDB.WORK_DAY_DEFINITIONS.MONDAY.START_HOUR=8

  • NRDB.WORK_DAY_DEFINITIONS.MONDAY.START_HOUR=20

Note that if the WORK_DAY_DEFINITIONS node is not found, or if the WORK_DAY_DEFINITIONS is found, but has no child nodes, the current default NRDB workday definitions will be loaded: Monday to Friday 08:00 to 20:00 and Saturday, 08:00 to 16:00.