commit | 6e29ad1dfe9b353af1c41a30101673bf01d7a144 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Thu Nov 21 13:41:05 2019 -0800 |
committer | Varun Shah <varunshah@google.com> | Thu Nov 21 13:41:05 2019 -0800 |
tree | 22fabdf2db0179ed308c4e72ce902bebd5fda3c0 | |
parent | 1aea8315ebe9cca6e9462ab02e9f4caf20c8cd58 [diff] |
Fix day of year value in RecurrenceProcessor. RecurrenceProcessor#yearDay was returning incorrectly for July 1st due to a wrong hard-coded value. Updating it to the correct value and adding some unit tests for the function. Bug: 111972497 Test: atest com.android.calendarcommon2.RecurrenceProcessorTest#testYearDay Change-Id: If468db15d0f66ca059460fbf09d360360cfe8cdd