Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DateProfileGenerator

Index

Constructors

Properties

isHiddenDayHash: boolean[]
nowDate: Date
props: DateProfileGeneratorProps

Methods

  • build(currentDate: Date, direction?: any, forceToValid?: boolean): DateProfile
  • Parameters

    • currentDate: Date
    • Optional direction: any
    • Optional forceToValid: boolean

    Returns DateProfile

  • buildCurrentRangeInfo(date: Date, direction: any): { duration: any; range: any; unit: any }
  • Parameters

    • date: Date
    • direction: any

    Returns { duration: any; range: any; unit: any }

    • duration: any
    • range: any
    • unit: any
  • buildDateIncrement(fallback: any): Duration
  • buildRangeFromDayCount(date: Date, direction: any, dayCount: any): { end: Date; start: Date }
  • Parameters

    • date: Date
    • direction: any
    • dayCount: any

    Returns { end: Date; start: Date }

  • buildRangeFromDuration(date: Date, direction: any, duration: Duration, unit: any): any
  • Parameters

    Returns any

  • buildRenderRange(currentRange: DateRange, currentRangeUnit: any, isRangeAllDay: any): DateRange
  • buildValidRange(): OpenDateRange
  • Returns OpenDateRange

  • initHiddenDays(): void
  • Returns void

  • isHiddenDay(day: any): boolean
  • Parameters

    • day: any

    Returns boolean

  • skipHiddenDays(date: Date, inc?: number, isExclusive?: boolean): Date
  • Parameters

    • date: Date
    • Optional inc: number
    • Optional isExclusive: boolean

    Returns Date

Generated using TypeDoc