2024-04-13 11:52:42 +02:00
|
|
|
/*
|
2024-04-10 16:53:18 +02:00
|
|
|
* Mirai. Copyright (C) 2024 Vyn
|
|
|
|
* This file is licensed under version 3 of the GNU General Public License (GPL-3.0-only)
|
|
|
|
* The license can be found in the LICENSE file or at https://www.gnu.org/licenses/gpl-3.0.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MIRAI_UTILS_H
|
|
|
|
#define MIRAI_UTILS_H
|
|
|
|
|
2024-04-13 11:52:42 +02:00
|
|
|
#include <algorithm>
|
2024-04-10 16:53:18 +02:00
|
|
|
#include <cctype>
|
2024-04-12 20:58:13 +02:00
|
|
|
#include <cpp-utils/string.h>
|
|
|
|
#include <cpp-utils/vector.h>
|
2024-04-13 11:52:42 +02:00
|
|
|
#include <locale>
|
|
|
|
#include <regex>
|
2024-04-10 16:53:18 +02:00
|
|
|
|
2024-04-13 11:52:42 +02:00
|
|
|
namespace mirai
|
|
|
|
{
|
|
|
|
namespace stringUtils = cpputils::string;
|
|
|
|
namespace vectorUtils = cpputils::vector;
|
2024-04-10 16:53:18 +02:00
|
|
|
|
2024-04-13 11:52:42 +02:00
|
|
|
bool isDate(const std::string &dateStr);
|
|
|
|
} // namespace mirai
|
2024-04-10 16:53:18 +02:00
|
|
|
|
|
|
|
#endif
|