Expand description
upstream common/parsers/AbstractTimeExpressionParser.ts.
Implement TimeExpressionParser for a locale and wrap it: Box::new(TimeExpression::new(p)).
Upstream’s super.extractPrimaryTimeComponents(...) is extract_primary_time_components,
and super.extractFollowingTimeComponents(...) is extract_following_time_components.
Structs§
- Time
Expression - The concrete
AbstractTimeExpressionParser: pattern caching and theextractflow.
Constants§
Traits§
- Time
Expression Parser - The abstract members of
AbstractTimeExpressionParser, with upstream’s defaults.
Functions§
- extract_
following_ time_ components - upstream
extractFollowingTimeComponents(the base implementation). May adjustresult.start. - extract_
primary_ time_ components - upstream
extractPrimaryTimeComponents(the base implementation).