[This is preliminary documentation and subject to change.]
Remap a world coordinate into a "virtual" world, where non-trading dates and times are collapsed.
equivalent virtual world coordinate.
This code works under asumption that there are exactly 24*60*60 seconds in a day This is strictly speaking not correct but apparently .NET 2.0 does not count leap seconds. Luckilly, Ticks == 0 =~= 0001-01-01T00:00 =~= Monday First tried a version fully on floating point arithmetic, but failed hopelessly due to rounding errors.
TradingDateTimeAxis Class | NPlot Namespace