Skip to content
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

Extend epoch time stamps to 2030 in CalendarTime #1232

Closed
milicag opened this issue Nov 6, 2019 · 0 comments · Fixed by #1241
Closed

Extend epoch time stamps to 2030 in CalendarTime #1232

milicag opened this issue Nov 6, 2019 · 0 comments · Fixed by #1241

Comments

@milicag
Copy link
Contributor

milicag commented Nov 6, 2019

Extend by updating the parameters:
constant Modelica.SIunits.Time timeStampsNewYear[12] = {
1262304000.0, 1293840000.0, 1325376000.0,
1356998400.0, 1388534400.0, 1420070400.0,
1451606400.0, 1483228800.0, 1514764800.0,
1546300800.0, 1577836800.0, 1609459200.0}
"Epoch time stamps for new years day 2010 to 2021";
constant Boolean isLeapYear[11] = {
false, false, true, false,
false, false, true, false,
false, false, true}

By appending the required information for years 2022, 2023, …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant