BootstrapTimeInterval Class

Declaration

export class BootstrapTimeInterval

Methods

contains Method

Declaration

contains(interval: BootstrapTimeInterval): boolean

Parameters

Type Name Description
BootstrapTimeInterval interval

Returns

Type Description
boolean

equals Method

Declaration

equals(interval: BootstrapTimeInterval): boolean

Parameters

Type Name Description
BootstrapTimeInterval interval

Returns

Type Description
boolean

getAllDay Method

Declaration

getAllDay(): boolean

Returns

Type Description
boolean

getDuration Method

Declaration

getDuration(): number

Returns

Type Description
number

getEnd Method

Declaration

getEnd(): Date

Returns

Type Description
Date

getStart Method

Declaration

getStart(): Date

Returns

Type Description
Date

intersectsWith Method

Declaration

intersectsWith(interval: BootstrapTimeInterval): boolean

Parameters

Type Name Description
BootstrapTimeInterval interval

Returns

Type Description
boolean

intersectsWithExcludingBounds Method

Declaration

intersectsWithExcludingBounds(interval: BootstrapTimeInterval): boolean

Parameters

Type Name Description
BootstrapTimeInterval interval

Returns

Type Description
boolean

setAllDay Method

Declaration

setAllDay(allDayValue: boolean): void

Parameters

Type Name Description
boolean allDayValue

setDuration Method

Declaration

setDuration(value: number): void

Parameters

Type Name Description
number value

setEnd Method

Declaration

setEnd(value: Date): void

Parameters

Type Name Description
Date value

setStart Method

Declaration

setStart(value: Date): void

Parameters

Type Name Description
Date value