TestSingleRecurrenceExceptions CTS fail case

The test case fail when timezone is selected to Cairo timezone . Cairo
timezone follows DST and changes on 30 April . So start time of weekly
recurring event before DST time (30 April) differs with event after DST
time(30 April).
As DST time changes because of  DST range crosses during queried range
period (18-April 1999 to 16-May 1999)  in test case , so start time of
events differs and test case fails .
So Date range which query event instance is changed  to (02-July to
04-Aug) . so that this range will completely reside in daylight time of
timezone and do not cross it.

bug: 112170881
Test: Build CTS
Test: Nexus 5X NRD91N passed the following tests
Test: run cts -o -m CtsProviderTestCases -t
android.provider.cts.CalendarTest#testSingleRecurrenceExceptions
Change-Id: I8d4925bb241df9dac5af909e80e0bf37bf41eaa4
Signed-off-by: Xinghua Yang <xinghua.yang@mediatek.com>
1 file changed