Initial empty repository
Relocate common Calendar classes

Move some classes from android.pim to com.android.calendarcommon.

Bug 4575374

Change-Id: I0da19545253f0bc887d2c284414f372ad740e946
Get tests working

Drop the shared ID so that the tests can be installed and run.

Updated a comment.

Change-Id: Ic58088c3cbda601bc44203815a80866c3d318b3b
Move a couple more classes to calendar-common

Move RecurrenceProcessor and DateException, so that app code can
access the recurrence generator.  Useful for e.g. bug 4977517.

Change-Id: Iaeb3e486a6a4133aa3d361d73461a0a0a3771bb4
Added some RecurrenceSet tests

Adds a few more tests for RecurrenceSet.

Also, fix the RecurrenceSet TAG.

Change-Id: I429cbea065e2b5d8d3a97662e54b9428ad8be257
Don't require FREQ to come first

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
Partial support for BYSETPOS

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
Fix a comment

RFC 5545 says the behavior is unspecified.  This just updates
the comments (no code changes).

Bug 5075775

Change-Id: I87d131c260570e2990bb05f624c90f7d78a1eb89
catch exception from time.parse() and throw an exception we handle better

Bug: 3415450
Change-Id: I0a83082b5de6d5c243ea84134769516e39e5a5fd
Include libphonenumber

Pull the external/libphonenumber sources into the Calendar lib.

Bug 4969832

Change-Id: Id59fac7fbfae488aa79d05520a60d4c4c3473f17
Support WKST in recurrence rules

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
Rename libphonenumber package

We're including a static copy of libphonenumber for the benefit of
the unbundled Calendar app.  We need to rename the package to avoid
a conflict with the (non-public) copy in ext.jar.

Bug 5532441

Change-Id: I6563c924809f936d8f04e081f0159a7fa1a907be
Add CleanSpec

Probably needed this with previous commit -- clears out directory so
jarjar will run even though no sources have changed.

Change-Id: Ibe8d5822a016b44c5a0ab847596764bf7544c4ad
Stop including libphonenumber

No longer used by Calendar app.

Bug 5578068

Change-Id: I7d7b51ac334f7dee7fbca7748a3c461f04f6b126
ICaldendar$Compenent.START/END -> package-private

Make ICaldendar$Compenent.START and ICaldendar$Compenent.END
package-private instead of private.

This makes a little more sense since they are accessed outside of the
class that they are defined in.

In addition, this fixes errors created by proguard when building with
OpenJDK.

Change-Id: I3ffa4d8807c1f00e89b414f3adba39cd9e799c47
am 74b1b5b0: ICaldendar.START/END -> package-private

* commit '74b1b5b02ac2022e01167d9cb5cbec02d3877fa7':
  ICaldendar$Compenent.START/END -> package-private
Fix rrules with bad count and interval during parsing

Specifically
If count < 0, assume 1
If interval < 1, assume 1

Bug: 5676414
Change-Id: I942cdaffcfb98a922c5867c9d08be322c64a0f94
am 0335d9f5: Fix rrules with bad count and interval during parsing

* commit '0335d9f524da1da1f4d15bba37a1576a9480a36d':
  Fix rrules with bad count and interval during parsing
am b9a152ec: am 0335d9f5: Fix rrules with bad count and interval during parsing

* commit 'b9a152ecd47d1b26f045e1cdef1ab40e36a63999':
  Fix rrules with bad count and interval during parsing
Allow lowercase in rrule

Bug: 5822997
Change-Id: I5f309cd0f854f8ac27326e7c16f9b637b24cd604