Skip to main content

BootstrapTimeInterval Class

Declaration

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(interval) Method

Declaration

contains(
    interval: BootstrapTimeInterval
): boolean

Parameters

Name Type
interval BootstrapTimeInterval

Returns

Type
boolean

equals(interval) Method

Declaration

equals(
    interval: BootstrapTimeInterval
): boolean

Parameters

Name Type
interval BootstrapTimeInterval

Returns

Type
boolean

getAllDay Method

Declaration

getAllDay(): boolean

Returns

Type
boolean

getDuration Method

Declaration

getDuration(): number

Returns

Type
number

getEnd Method

Declaration

getEnd(): Date

Returns

Type
Date

getStart Method

Declaration

getStart(): Date

Returns

Type
Date

intersectsWith(interval) Method

Declaration

intersectsWith(
    interval: BootstrapTimeInterval
): boolean

Parameters

Name Type
interval BootstrapTimeInterval

Returns

Type
boolean

intersectsWithExcludingBounds(interval) Method

Declaration

intersectsWithExcludingBounds(
    interval: BootstrapTimeInterval
): boolean

Parameters

Name Type
interval BootstrapTimeInterval

Returns

Type
boolean

setAllDay(allDayValue) Method

Declaration

setAllDay(
    allDayValue: boolean
): void

Parameters

Name Type
allDayValue boolean

setDuration(value) Method

Declaration

setDuration(
    value: number
): void

Parameters

Name Type
value number

setEnd(value) Method

Declaration

setEnd(
    value: Date
): void

Parameters

Name Type
value Date

setStart(value) Method

Declaration

setStart(
    value: Date
): void

Parameters

Name Type
value Date