Home Manual Reference Source Test Repository
public class | source

ByMonth

Extends:

ByGeneric → ByMonth

Constructor Summary

Public Constructor
public

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

Constructor

Method Summary

Public Methods
public

At this day will be executed the operation

Public Constructors

public constructor(parent: BaseOperationBuilder, date: Date, periodicityName: string, months: array, 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

months array
  • nullable: false

Months on will be execute the operation

end number or Date
  • nullable: false

When periodicity ends. By repetitions or by date

Public Methods

public day(day: number): BaseOperationBuilder source

At this day will be executed the operation

Params:

NameTypeAttributeDescription
day number
  • nullable: false

Throw:

Error

throw error when day is not typeof number

Error

throw error when day is > 31 and < 1