Function timeParse

  • Returns a new parser for the given string specifier.

    An alias for locale.parse (TimeLocaleObject.parse) on the default locale.

    Parameters

    • specifier: string

      A specifier string for the date format.

    Returns ((dateString) => Date | null)

      • (dateString): Date | null
      • Parameters

        • dateString: string

        Returns Date | null