Interface SchedulerDateHelpers

Index

Methods

Methods

public add(origin: Date, count: number, unit: string): Date

Parameters

  • origin: Date
  • count: number
  • unit: string

Returns

Date

public convert_to_utc(origin: Date): Date

Parameters

  • origin: Date

Returns

Date

public copy(origin: Date): Date

Parameters

  • origin: Date

Returns

Date

public date_part(origin: Date): Date

Parameters

  • origin: Date

Returns

Date

public date_to_str(format: string): any

Parameters

  • format: string

Returns

any

public day_start(origin: Date): Date

Parameters

  • origin: Date

Returns

Date

public getISOWeek(origin: Date): number

Parameters

  • origin: Date

Returns

number

public getUTCISOWeek(origin: Date): number

Parameters

  • origin: Date

Returns

number

public month_start(origin: Date): Date

Parameters

  • origin: Date

Returns

Date

public str_to_date(format: string): any

Parameters

  • format: string

Returns

any

public time_part(origin: Date): Date

Parameters

  • origin: Date

Returns

Date

public to_fixed(value: number): string

Parameters

  • value: number

Returns

string

public week_start(origin: Date): Date

Parameters

  • origin: Date

Returns

Date

public year_start(origin: Date): Date

Parameters

  • origin: Date

Returns

Date