Fix ZoneInfo.WallTime.mktime

The code was a assuming a zero millisecond field on the
GregorianCalendar used internally. This assumption was broken
by commit 9c853c5b9ebbb0ef60a013ae10ee411d70dfa832 which
modified how the GregorianCalendar was created. An
alternative public constructor will be used instead.
To be defensive the millisecond field is also now set
explicitly to zero.

This change will break LayoutLib: the need for the layoutlib
hack has gone away now the code uses a public GregorianCalendar
constructor.

Bug: 25993843
Change-Id: Iae9210576ba87a5e30ea9ec77d19a8a5b28b2b0b
1 file changed