mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 18:19:19 +02:00
build 180622. time zone bias calculation fix, track events fix, passenger stop distance calculation fix
This commit is contained in:
3
World.h
3
World.h
@@ -44,6 +44,8 @@ public:
|
||||
year_day( int Day, int const Month, int const Year ) const;
|
||||
int
|
||||
julian_day() const;
|
||||
double
|
||||
zone_bias() const { return m_timezonebias; }
|
||||
|
||||
private:
|
||||
// calculates day and month from given day of year
|
||||
@@ -54,6 +56,7 @@ private:
|
||||
double m_milliseconds{ 0.0 };
|
||||
int m_yearday;
|
||||
char m_monthdaycounts[ 2 ][ 13 ];
|
||||
double m_timezonebias{ 0.0 };
|
||||
};
|
||||
|
||||
namespace simulation {
|
||||
|
||||
Reference in New Issue
Block a user