[System.Core/Android] Use correct comparison for timezone ids.
authorJonathan Pryor <jonpryor@vt.edu>
Tue, 25 Jun 2013 19:19:01 +0000 (15:19 -0400)
committerJonathan Pryor <jonpryor@vt.edu>
Tue, 25 Jun 2013 19:51:55 +0000 (15:51 -0400)
commitac11abe18d6847807e5dbc7ca16c1530bb0fc517
tree8b4a00dafa85d8182135ed664a18327f3cbfa7a6
parente1a6e61389af3ca0a7036ce96380a0c28c312ad0
[System.Core/Android] Use correct comparison for timezone ids.

Context: https://bugzilla.xamarin.com/show_bug.cgi?id=7953

The names within zoneinfo.idx are sorted ordinally, which is not the
default string comparison that Array.BinarySearch() uses.
Consequently, many timezones would not be found even though they were
present, including "Pacific/Auckland".

Use the correct string comparison so that names can be found.
mcs/class/System.Core/System/TimeZoneInfo.Android.cs