Function parseSync

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

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

    If raise is set to true then this function will throw and error when a failure occurs.

    Parameters

    • isoString: string

      ISO 8601 time string

    • options: {
          raise?: boolean;
          strict?: boolean;
      }
      • Optional raise?: boolean
      • Optional strict?: boolean

    Returns ParseResponse | null

    The parsed response

Generated using TypeDoc