Enable time zone for netstandard1.7 (#8074)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Fri, 11 Nov 2016 00:58:28 +0000 (16:58 -0800)
committerGitHub <noreply@github.com>
Fri, 11 Nov 2016 00:58:28 +0000 (16:58 -0800)
commitd3ad5db7bf3209a5b0ea341cee19230d2ba0fef5
tree48caa24acf77651ef91c8b7f75468bb333962cc8
parent77a138907acdd6f51de0200a9148676fad7c3cbd
Enable time zone for netstandard1.7 (#8074)

* Expose and reimplement TimeZone class

The change is exposing the missing TimeZone APIs from corelib so can be useded in netstandard 1.7.
The change here is re-implementing CurrentTimeZone class to be simpler and also to make it work for Linux platforms. we used TimeZoneInfo class to reimplement it and also cleaned up all used internal calls as not needed anymore.

* Small delta fix

* Fix the code according to the review comments
src/classlibnative/inc/nlsinfo.h
src/classlibnative/nls/nlsinfo.cpp
src/mscorlib/model.xml
src/mscorlib/src/System/CurrentTimeZone.cs
src/mscorlib/src/System/TimeZoneInfo.cs
src/vm/ecalllist.h