BootstrapTimeInterval Class

Declaration

export class BootstrapTimeInterval

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Methods

contains Method

Declaration

contains(interval: BootstrapTimeInterval): boolean

Parameters

Name Type Description
interval

Returns

Type Description
boolean

equals Method

Declaration

equals(interval: BootstrapTimeInterval): boolean

Parameters

Name Type Description
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

Name Type Description
interval

Returns

Type Description
boolean

intersectsWithExcludingBounds Method

Declaration

intersectsWithExcludingBounds(interval: BootstrapTimeInterval): boolean

Parameters

Name Type Description
interval

Returns

Type Description
boolean

setAllDay Method

Declaration

setAllDay(allDayValue: boolean): void

Parameters

Name Type Description
allDayValue

setDuration Method

Declaration

setDuration(value: number): void

Parameters

Name Type Description
value

setEnd Method

Declaration

setEnd(value: Date): void

Parameters

Name Type Description
value

setStart Method

Declaration

setStart(value: Date): void

Parameters

Name Type Description
value