Skip to main content

BootstrapTimeInterval Class

#Declaration

TypeScript
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

TypeScript
contains(
    interval: BootstrapTimeInterval
): boolean

#Parameters

Name Type
interval BootstrapTimeInterval

#Returns

Type
boolean

#equals(interval) Method

#Declaration

TypeScript
equals(
    interval: BootstrapTimeInterval
): boolean

#Parameters

Name Type
interval BootstrapTimeInterval

#Returns

Type
boolean

#getAllDay Method

#Declaration

TypeScript
getAllDay(): boolean

#Returns

Type
boolean

#getDuration Method

#Declaration

TypeScript
getDuration(): number

#Returns

Type
number

#getEnd Method

#Declaration

TypeScript
getEnd(): Date

#Returns

Type
Date

#getStart Method

#Declaration

TypeScript
getStart(): Date

#Returns

Type
Date

#intersectsWith(interval) Method

#Declaration

TypeScript
intersectsWith(
    interval: BootstrapTimeInterval
): boolean

#Parameters

Name Type
interval BootstrapTimeInterval

#Returns

Type
boolean

#intersectsWithExcludingBounds(interval) Method

#Declaration

TypeScript
intersectsWithExcludingBounds(
    interval: BootstrapTimeInterval
): boolean

#Parameters

Name Type
interval BootstrapTimeInterval

#Returns

Type
boolean

#setAllDay(allDayValue) Method

#Declaration

TypeScript
setAllDay(
    allDayValue: boolean
): void

#Parameters

Name Type
allDayValue boolean

#setDuration(value) Method

#Declaration

TypeScript
setDuration(
    value: number
): void

#Parameters

Name Type
value number

#setEnd(value) Method

#Declaration

TypeScript
setEnd(
    value: Date
): void

#Parameters

Name Type
value Date

#setStart(value) Method

#Declaration

TypeScript
setStart(
    value: Date
): void

#Parameters

Name Type
value Date