Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions Plugins

Plugins Functions

  • fromJsDate(date: Date, options?: { locale?: LocaleSpecifier; zone?: ZoneSpecifier }): DateTime
  • Creates a DateTime from a Javascript Date object

    Parameters

    • date: Date

      JavaScript Date

    • Optional options: { locale?: LocaleSpecifier; zone?: ZoneSpecifier }
      • Optional locale?: LocaleSpecifier
      • Optional zone?: ZoneSpecifier

    Returns DateTime

Generated using TypeDoc