Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ParsedComponents

A collection of parsed date/time components (e.g. day, hour, minute, ..., etc).

Each parsed component has three different levels of certainty.

  • Certain (or Known): The component is directly mentioned and parsed.
  • Implied: The component is not directly mentioned, but implied by other parsed information.
  • Unknown: Completely no mention of the component.

Hierarchy

  • ParsedComponents

Implemented by

Index

Methods

date

  • date(): Date
  • Returns Date

    a javascript date object.

get

  • Get the component value for either Certain or Implied value.

    Parameters

    Returns number

isCertain

  • Check the component certainly if the component is Certain (or Known)

    Parameters

    Returns boolean

tags

  • tags(): Set<string>
  • Returns Set<string>

    debugging tags of the parsed component.

Generated using TypeDoc