Skip to content

Commit

Permalink
WIP step 2
Browse files Browse the repository at this point in the history
Nouvelle classe technique DataTime
- classe interne, ancetre commun de toutes les classe Date, Time, Timestamp, TimestampTZ
- defini une union permetant des manipulation simple de tout ou partie des champs
  - longint, compatible avec KWValue
  - acces a la sous-partie Data, Timezone, Time
  - acces a tous les champs elementaires
  • Loading branch information
marcboulle committed Nov 24, 2023
1 parent f899364 commit 5185662
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Learning/KWData/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ add_library(
KWSymbol.cpp
KWTextService.cpp
KWTextTokenizer.cpp
KWDateTime.cpp
KWTime.cpp
KWTimestamp.cpp
KWTimestampTZ.cpp
Expand Down
1 change: 1 addition & 0 deletions src/Learning/KWData/KWTime.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Time;
class KWTimeFormat;

#include "Object.h"
#include "KWDateTime.h"
#include "Vector.h"

////////////////////////////////////////////////////////////////////////////////////
Expand Down
3 changes: 2 additions & 1 deletion src/Learning/MODL/MODL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5185662

Please sign in to comment.