Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

  • parseIso(date: string, options?: { locale?: LocaleSpecifier; zone?: ZoneSpecifier }): DateTime
  • Creates a DateTime from an ISO 8601 date string

    Parameters

    • date: string

      The ISO 8601 date string to parse

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

      DateTime creation parameters (locale and zone)

      • Optional locale?: LocaleSpecifier
      • Optional zone?: ZoneSpecifier

    Returns DateTime

Generated using TypeDoc