File indexing completed on 2024-11-24 04:42:17
0001 /* 0002 This file is part of kalarmcal library, which provides access to KAlarm 0003 calendar data. 0004 0005 SPDX-FileCopyrightText: 2005, 2011, 2018 David Jarvie <djarvie@kde.org> 0006 0007 SPDX-License-Identifier: LGPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 #include <QObject> 0013 0014 class KADateTimeTest : public QObject 0015 { 0016 Q_OBJECT 0017 private Q_SLOTS: 0018 void specConstructors(); 0019 void specSet(); 0020 void constructors(); 0021 void toUtc(); 0022 void toOffsetFromUtc(); 0023 void toLocalZone(); 0024 void toZone(); 0025 void toTimeSpec(); 0026 void set(); 0027 void equal(); 0028 void lessThan(); 0029 void compare(); 0030 void addSubtract(); 0031 void addMSecs(); 0032 void addSubtractDate(); 0033 void dstShifts(); 0034 void strings_iso8601(); 0035 void strings_rfc2822(); 0036 void strings_rfc3339(); 0037 void strings_qttextdate(); 0038 void strings_format(); 0039 #ifdef COMPILING_TESTS 0040 void cache(); 0041 #endif 0042 void stream(); 0043 void misc(); 0044 }; 0045