FOSSredder 0.5.0
Loading...
Searching...
No Matches
ParserDateUtils.cpp File Reference

Implements private helpers for short/full date detection in parser text. More...

Include dependency graph for ParserDateUtils.cpp:

Go to the source code of this file.

Namespaces

namespace  core
namespace  core::application
namespace  core::application::importing
namespace  core::application::importing::internal

Functions

bool core::application::importing::internal::hasShortDateToken (const std::string &text) noexcept
 Checks whether the text contains a short date token.
bool core::application::importing::internal::containsShortDate (const std::string &text) noexcept
 Checks whether the text contains any short date pattern.
std::optional< std::string > core::application::importing::internal::findFirstFullDate (const std::string &text) noexcept
 Finds the first full date in a text fragment.

Detailed Description

Implements private helpers for short/full date detection in parser text.

Definition in file ParserDateUtils.cpp.