mono/mono — pull request #1254 by vkargov (2014-09-03 21:03:48+00:00)
Title: [corlib] Take daylight change info for the current year in TimeZoneTest.cs

In GetUtcOffsetAtDSTBoundary() from the time zone test suite, UtcOffset is taken for the current year, so take DaylightChanges for the current year as well.

The existing discrepancy in years can cause a test failure in some time zones that recently abolished (or adopted) daylight saving, e.g. Russia that doesn't have DST since 2011.

It can be reproduced by running the following on Linux (and probably Mac):
$ TZ=/usr/share/zoneinfo/Europe/Moscow make run-test FIXTURE=System.TimeZoneTest