Idea

Joerg Vogel avatar image
0 Likes"
Joerg Vogel suggested Jason Lightfoot commented

structured class world date time

FlexSim is a tool to simulate processes all over the world. The current DateTime class is suited to compute time values to the base January 1st, 1601. But often we calculate time values to the base of current day, then the date part is not relevant. I would like to see a composed class WorldDateTime of components time of day, date and time zone. Each is a subset of properties and methods. The new time zone is a benefit for those, who works in different time zones with their models.

And it would be nice, if we get rid of two data classes dealing with similar attributes of time (Model, DateTime).

timedatetimeutcworld zone
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

It seems to me that we just need any DateTime we create to have the zone attribute - I could not successfully use zone in the constructor, so I expect this is an omission.

0 Likes 0 ·

No Comments

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.