File indexing completed on 2024-12-22 05:00:50

0001 /*
0002    SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "archivemailinfo.h"
0010 #include <QDate>
0011 
0012 namespace ArchiveMailAgentUtil
0013 {
0014 static QString archivePattern = QStringLiteral("ArchiveMailCollection %1");
0015 [[nodiscard]] QDate diffDate(ArchiveMailInfo *info);
0016 [[nodiscard]] bool needToArchive(ArchiveMailInfo *info);
0017 [[nodiscard]] bool timeIsInRange(const QList<int> &range, QTime time);
0018 }