Age | Commit message (Collapse) | Author |
|
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
|
|
- Handle multi-line EXRULE and RDATE.
- Fix existing tests.
- Add more tests.
Fixes: 31054618
Test: adb shell am instrument -w com.android.calendarcommon2.tests/android.test.InstrumentationTestRunner
Change-Id: I73eb8dc876adb253e093d68685deefcc9b02953e
|
|
Fixes that recurring appointments goes invisible
when hit by the failsafe limit.
There is still a hard limit in RecurrenceProcessor,
but at least this limit is applied on a per-event
basis, meaning that it's always possible to create
new recurring appointments without them going invisible.
Change-Id: I6c9e1e10db78e1b73ea9f2b7104621fbbd906452
|
|
Change-Id: I5bd618866d6484037671376e192ee3217c42c366
|
|
Allow for consecutive ";" in rules for recurring events.
Bug 6312732
Change-Id: I3bd82b7818cd755eec7129ca6497746a91cb6653
|
|
Change-Id: I9a354fe360376c43da2290535a038bd6ab4facd3
|
|
Bug: 5876746 Android calendar syncing broken by certain repeated events
Change-Id: Ia0b2bc610148302b1cc3d751c47a958950abfb46
|
|
Specifically
If count < 0, assume 1
If interval < 1, assume 1
Bug: 5676414
Change-Id: I942cdaffcfb98a922c5867c9d08be322c64a0f94
|
|
RFC 5545 says WKST is significant in weekly rules with nonzero
intervals and BYDAY rules, and also in yearly rules with a BYWEEKNO
part. Yearly with BYWEEKNO seems to be generally broken, so this
only attempts to correct weekly recurrences.
Bug 1641249
Change-Id: Icad8762be4685036fc50bed0cc75970e774a21a8
|
|
RFC 5545 says the behavior is unspecified. This just updates
the comments (no code changes).
Bug 5075775
Change-Id: I87d131c260570e2990bb05f624c90f7d78a1eb89
|
|
This adds support for rules like FREQ=MONTHLY;BYDAY=SA,SU;BYSETPOS=x
(for the popular "first weekday of the month" sort of recurrence).
Implementing fully general support for BYSETPOS is a bigger task.
Bug 4946753
Change-Id: I437c0cf52bbed2a191729b3891c3afda62ffb633
|
|
The definition of "recur" in 4.3.10 suggests that FREQ must
come first, but the description is really just trying to say that
FREQ is mandatory. The text makes it clear that there is no
ordering on rule parts.
This removes the explicit test, and updates the set of test
rules.
Change-Id: I908ae388456a7df2d12a0c18a2174af8f95ec421
|
|
Adds a few more tests for RecurrenceSet.
Also, fix the RecurrenceSet TAG.
Change-Id: I429cbea065e2b5d8d3a97662e54b9428ad8be257
|
|
Move RecurrenceProcessor and DateException, so that app code can
access the recurrence generator. Useful for e.g. bug 4977517.
Change-Id: Iaeb3e486a6a4133aa3d361d73461a0a0a3771bb4
|
|
Drop the shared ID so that the tests can be installed and run.
Updated a comment.
Change-Id: Ic58088c3cbda601bc44203815a80866c3d318b3b
|
|
Move some classes from android.pim to com.android.calendarcommon.
Bug 4575374
Change-Id: I0da19545253f0bc887d2c284414f372ad740e946
|