Chrono - v2.8.3
    Preparing search index...

    Interface ParsedResult

    Parsed result or final output. Each result object represents a date/time (or date/time-range) mentioning in the input.

    interface ParsedResult {
        end?: ParsedComponents;
        index: number;
        refDate: Date;
        start: ParsedComponents;
        text: string;
        date(): Date;
        tags(): Set<string>;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    index: number
    refDate: Date
    text: string

    Methods

    • Returns Date

      a javascript date object created from the result.start.

    • Returns Set<string>

      debugging tags combined of the result.start and result.end.