Options
All
  • Public
  • Public/Protected
  • All
Menu

Scope on the time used to get free time.

Hierarchy

  • ScopeTime

Index

Constructors

Properties

Methods

Constructors

constructor

  • new ScopeTime(option?: undefined | object): ScopeTime

Properties

Private ends

ends: number[]

Private starts

starts: number[]

Methods

end

setEnd

  • Set end time to day of week.

    Parameters

    • day: DayOfWeek

      day of week. 0(Sunday) and 6(Saturday)

    • hour: number

      end hour of day. between 0 and 24.

    Returns void

setStart

  • setStart(day: DayOfWeek, hour: number): void
  • Set start time to day of week.

    Parameters

    • day: DayOfWeek

      day of week. 0(Sunday) and 6(Saturday)

    • hour: number

      start hour of day. between 0 and 24.

    Returns void

start

Generated using TypeDoc