diff --git a/src/Learning/KWData/CMakeLists.txt b/src/Learning/KWData/CMakeLists.txt index 5b0d2d870..b72a43da8 100644 --- a/src/Learning/KWData/CMakeLists.txt +++ b/src/Learning/KWData/CMakeLists.txt @@ -61,6 +61,7 @@ add_library( KWSymbol.cpp KWTextService.cpp KWTextTokenizer.cpp + KWDateTime.cpp KWTime.cpp KWTimestamp.cpp KWTimestampTZ.cpp diff --git a/src/Learning/KWData/KWTime.h b/src/Learning/KWData/KWTime.h index a227c5356..b3f2b9d71 100644 --- a/src/Learning/KWData/KWTime.h +++ b/src/Learning/KWData/KWTime.h @@ -8,6 +8,7 @@ class Time; class KWTimeFormat; #include "Object.h" +#include "KWDateTime.h" #include "Vector.h" //////////////////////////////////////////////////////////////////////////////////// diff --git a/src/Learning/MODL/MODL.cpp b/src/Learning/MODL/MODL.cpp index 2e8c58b25..6e62c46cb 100644 --- a/src/Learning/MODL/MODL.cpp +++ b/src/Learning/MODL/MODL.cpp @@ -30,16 +30,17 @@ int main(int argc, char** argv) MDKhiopsLearningProject learningProject; //DDD + DateTime::Test(); /*DDD cout << "TEST Time\n"; Time::Test(); cout << "TEST Date\n"; Date::Test(); - */ cout << "TEST Timestamp\n"; Timestamp::Test(); cout << "TEST TimestampTZ\n"; TimestampTZ::Test(); + */ return 0; // Activation de la gestion des signaux via des erreurs, pour afficher des messages d'erreur explicites