Home Manual Reference Source Test Repository
public class | source

ByWeek

Extends:

ByGeneric → ByWeek

Constructor Summary

Public Constructor
public

constructor(parent: BaseOperationBuilder, date: Date, periodicityName: string, end: number or Date)

Constructor

Method Summary

Public Methods
public

days(days: array): BaseOperationBuilder

At this days will be executed the operation

Public Constructors

public constructor(parent: BaseOperationBuilder, date: Date, periodicityName: string, end: number or Date) source

Constructor

Override:

ByGeneric#constructor

Params:

NameTypeAttributeDescription
parent BaseOperationBuilder
  • nullable: false

this is a operationBaseBuilder.

date Date
  • nullable: false

Date when operation will be executed

periodicityName string

Name associated to periodicity

end number or Date
  • nullable: false

When periodicity ends. By repetitions or by date

Public Methods

public days(days: array): BaseOperationBuilder source

At this days will be executed the operation

Params:

NameTypeAttributeDescription
days array
  • nullable: false

Throw:

Error

throw error when days is not typeof Array

Error

throw error when any day is not found into DAYS_ENUM