Function parse

  • On default behavior, this function will return null in case of parsing failure.

    This function uses parseSync under the hood.

    Parameters

    • isoString: string

      ISO 8601 time string

    • strict: boolean = false

      If set to true this function will fail if an implicit time offset is given

    Returns Promise<ParseResponse>

    Promise returning either the parsed response or an error message

Generated using TypeDoc