Hi,
I'm playing with TimezoneInfo classes in .NET from AX (4.0).
I've added a AOT reference to the System.Core assembly and I'm trying to access System.TimeZoneInfo class member and methods.
It works good. But, in order to use the method TimezoneInfo.GetAdjustmentRules() I need to declare a System.TimezoneInfo.AdjustmentRule[] variable, which is that's bothering me.
I don't manage to declare even a single System.TimezoneInfo.AdjustmentRule variable. the compiler doesn't recognize the class. It seems like AX "can't see" the class behind the class. The same occurs in AX2012 (I've tested just in case it has been done some improvement on that part)
I've tested my code in C# and it works well
Do you know how to deal with these classes?
Many thanks
*This post is locked for comments
I have the same question (0)