Is Nth Day of Period Condition

com.workbrain.app.ta.conditions.IsNthDayWorkedWeekCondition

The Is Nth Day of Period Condition checks whether the current calculation date matches the specific date of a defined period. For example, if the condition is configured to return true on the second day (ApplyOnValue = 2) of each month (ApplyonUnit = Month), the condition is only true on the second day of each month. All other timesheet dates return false.

When the ApplyonUnit value is set to Week, the system uses the DAY_WEEK_STARTS registry entry to determine the start of the week.

When the ApplyonUnit value is set to Quarter, the system uses the standard yearly quarters: 01/01- 03/31, 04/01-06/30, 07/01-09/30, and 10/01-12/31.

Parameters In

Parameter Type Description Example
ApplyOnUnit Drop-down The period to be considered for evaluation:
  • Week
  • Pay Period
  • Month
  • Quarter
  • Year
Week
ApplyOnValue String Numeric value indicating the position within the period for which the condition checks. 'F' for first and 'L' for last can also be used.