Execute Every Builder

ExecuteEveryBuilder

ExecuteEveryBuilder Objects

class ExecuteEveryBuilder()

Defines the builder to configure a period of operation. By this builder you can select period by day, week, month, year.

constructor
function constructor()

Constructor

Arguments:

  • parent BaseOperationBuilder - this is a operationBaseBuilder.
  • date Date - Date when operation will be executed
  • periodicityName string - Name associated to periodicity

day
function day() -> 'BaseOperationBuilder'

Every day at time defined will be the pattern

Returns:

  • BaseOperationBuilder

month
function month(months: array) -> 'ByMonth'

Each month at time and day defined will be the pattern

Arguments:

  • months array - months on will be execute the operation

Returns:

  • ByMonth

week
function week()

year
function year()