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

Declares date-detection helpers for the import parser. More...

#include <optional>
#include <string>
Include dependency graph for ParserDateUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

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

Declares date-detection helpers for the import parser.

Definition in file ParserDateUtils.h.