-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add date and time utilities #3247
base: master
Are you sure you want to change the base?
Commits on Nov 11, 2024
-
Move getTime from System to Internal package and introduce a new package Time with function getTime returning a record.
Configuration menu - View commit details
-
Copy full SHA for d7e71ab - Browse repository at this point
Copy the full SHA d7e71abView commit details -
Configuration menu - View commit details
-
Copy full SHA for f235719 - Browse repository at this point
Copy the full SHA f235719View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61b76b0 - Browse repository at this point
Copy the full SHA 61b76b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5da7b27 - Browse repository at this point
Copy the full SHA 5da7b27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 091e0f1 - Browse repository at this point
Copy the full SHA 091e0f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17c8421 - Browse repository at this point
Copy the full SHA 17c8421View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ffac2d - Browse repository at this point
Copy the full SHA 9ffac2dView commit details -
Integrate DateTime record from Testing lib
... with all dependencies on Testing and DymolaModels removed
Configuration menu - View commit details
-
Copy full SHA for ff7685c - Browse repository at this point
Copy the full SHA ff7685cView commit details -
Integrate Duration record from Testing lib
... with all dependencies on Testing and DymolaModels removed
Configuration menu - View commit details
-
Copy full SHA for 5a08d79 - Browse repository at this point
Copy the full SHA 5a08d79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08555b3 - Browse repository at this point
Copy the full SHA 08555b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 351261b - Browse repository at this point
Copy the full SHA 351261bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 663955a - Browse repository at this point
Copy the full SHA 663955aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd03dd7 - Browse repository at this point
Copy the full SHA cd03dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5928e7 - Browse repository at this point
Copy the full SHA a5928e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d8309c - Browse repository at this point
Copy the full SHA 5d8309cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a02efee - Browse repository at this point
Copy the full SHA a02efeeView commit details -
Format DateTime like strftime in C++ and Python
... but currently using only a subset of the available formatting options.
Configuration menu - View commit details
-
Copy full SHA for 3d718c3 - Browse repository at this point
Copy the full SHA 3d718c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42e86e5 - Browse repository at this point
Copy the full SHA 42e86e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0219514 - Browse repository at this point
Copy the full SHA 0219514View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22aadfa - Browse repository at this point
Copy the full SHA 22aadfaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00b8a41 - Browse repository at this point
Copy the full SHA 00b8a41View commit details -
Use d as variable name for Durations
.... and make an update regarding DateTimes as dt in Duration as well
Configuration menu - View commit details
-
Copy full SHA for 04bf1b2 - Browse repository at this point
Copy the full SHA 04bf1b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d68426 - Browse repository at this point
Copy the full SHA 6d68426View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79acad7 - Browse repository at this point
Copy the full SHA 79acad7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 835bec0 - Browse repository at this point
Copy the full SHA 835bec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72203dd - Browse repository at this point
Copy the full SHA 72203ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for aac7719 - Browse repository at this point
Copy the full SHA aac7719View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6719bb - Browse repository at this point
Copy the full SHA e6719bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0a74c9 - Browse repository at this point
Copy the full SHA d0a74c9View commit details -
Rewrite using external functions from ModelicaTime.c
* Rewrite DateTime.'constructor'.fromEpoch to utilize ModelicaTime_localtime * Rewrite DateTime.'String'.formatted to utilize ModelicaTime_strftime * Rewrite DateTime.epoch to utilize ModelicaTime_difftime * Add DateTime.'constructor'.fromString utilizing ModelicaTime_strptime ModelicaTime.[ch] need to be integrated to ModelicaExternalC for later distribution. During development ModelicaTime.c is directly included by the external function declaration.
Configuration menu - View commit details
-
Copy full SHA for 4cb9f66 - Browse repository at this point
Copy the full SHA 4cb9f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e67d9c - Browse repository at this point
Copy the full SHA 7e67d9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ab144 - Browse repository at this point
Copy the full SHA a3ab144View commit details -
Configuration menu - View commit details
-
Copy full SHA for f403837 - Browse repository at this point
Copy the full SHA f403837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fa0d91 - Browse repository at this point
Copy the full SHA 9fa0d91View commit details -
Add wrappers for external functions
Force consistency and make SimulationX happy
Configuration menu - View commit details
-
Copy full SHA for 4df6b5b - Browse repository at this point
Copy the full SHA 4df6b5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5f2de2 - Browse repository at this point
Copy the full SHA b5f2de2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd9e66d - Browse repository at this point
Copy the full SHA cd9e66dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb46ff2 - Browse repository at this point
Copy the full SHA fb46ff2View commit details -
Make Duration constructors unambiguous
This requires fromSeconds to be the new default. And it's not possible anymore to create Durations by specifying e.g. hour only. But unless you write tests or doc, this is not really needed I would say.
Configuration menu - View commit details
-
Copy full SHA for 952df8f - Browse repository at this point
Copy the full SHA 952df8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c03619b - Browse repository at this point
Copy the full SHA c03619bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e889f0 - Browse repository at this point
Copy the full SHA 2e889f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7139e8 - Browse repository at this point
Copy the full SHA d7139e8View commit details -
Fix subtraction test of DateTime
Creating a Duration does not work anymore that way, due to "e547700 - Make Duration constructors unambiguous"
Configuration menu - View commit details
-
Copy full SHA for 8347e21 - Browse repository at this point
Copy the full SHA 8347e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for b581a35 - Browse repository at this point
Copy the full SHA b581a35View commit details -
Fix naming in nearestInteger tests
Co-Authored-By: Thomas Beutlich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6fe248 - Browse repository at this point
Copy the full SHA f6fe248View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2418c3e - Browse repository at this point
Copy the full SHA 2418c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4471908 - Browse repository at this point
Copy the full SHA 4471908View commit details -
Configuration menu - View commit details
-
Copy full SHA for f24d8ae - Browse repository at this point
Copy the full SHA f24d8aeView commit details -
Add another test for negative durations
... as the one we had did not catch negative durations with multiple days.
Configuration menu - View commit details
-
Copy full SHA for 027ff80 - Browse repository at this point
Copy the full SHA 027ff80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65fe3a8 - Browse repository at this point
Copy the full SHA 65fe3a8View commit details -
Optionally skip DateTime tests for years before 1970
... as this is not supported at the moment.
Configuration menu - View commit details
-
Copy full SHA for 578d1a6 - Browse repository at this point
Copy the full SHA 578d1a6View commit details -
Use class for operator record icon
... to fix inheritance, as its not allowed to extend from an operator record in Modelica 3.4
Configuration menu - View commit details
-
Copy full SHA for 2be014c - Browse repository at this point
Copy the full SHA 2be014cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42970c2 - Browse repository at this point
Copy the full SHA 42970c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b7e3af - Browse repository at this point
Copy the full SHA 2b7e3afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24ff399 - Browse repository at this point
Copy the full SHA 24ff399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0814655 - Browse repository at this point
Copy the full SHA 0814655View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26cb4ba - Browse repository at this point
Copy the full SHA 26cb4baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69df1da - Browse repository at this point
Copy the full SHA 69df1daView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3e4fd8 - Browse repository at this point
Copy the full SHA c3e4fd8View commit details -
Migrate conversion to next major version
Conversion for MSL v4.0.0 no longer is suitable, hence migrate to next major version.
Configuration menu - View commit details
-
Copy full SHA for 289aef0 - Browse repository at this point
Copy the full SHA 289aef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f388e2 - Browse repository at this point
Copy the full SHA 9f388e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d91779 - Browse repository at this point
Copy the full SHA 8d91779View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4de094 - Browse repository at this point
Copy the full SHA c4de094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6918dd9 - Browse repository at this point
Copy the full SHA 6918dd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6216a - Browse repository at this point
Copy the full SHA 7c6216aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 059132f - Browse repository at this point
Copy the full SHA 059132fView commit details