Interface Calendar

Index

Properties

Methods

Properties

public version: string

Gets the version of Fullcalendar

Methods

public formatDate(date: Date, format: string, options?: Options): string

Formats a Date object into a string.

Parameters

  • date: Date
  • format: string
  • options?: Options optional

Returns

string

public formatDates(date1: Date, date2: Date, format: string, options?: Options): string

Formats a date range (two Date objects) into a string.

Parameters

  • date1: Date
  • date2: Date
  • format: string
  • options?: Options optional

Returns

string

public parseDate(dateString: string, ignoreTimezone?: boolean): Date

Parses a string into a Date object.

Parameters

  • dateString: string
  • ignoreTimezone?: boolean optional

Returns

Date

public parseISO8601(dateString: string, ignoreTimezone?: boolean): Date

Parses an ISO8601 string into a Date object.

Parameters

  • dateString: string
  • ignoreTimezone?: boolean optional

Returns

Date