OSDN Git Service

Change date on CustomCalendar
authorJerome Gaillard <jgaillard@google.com>
Fri, 11 Nov 2016 15:17:09 +0000 (15:17 +0000)
committerJerome Gaillard <jgaillard@google.com>
Mon, 14 Nov 2016 11:01:33 +0000 (11:01 +0000)
The date of the calendar is set by converting the epoch time based on
the local time zone. We choose at date at 12:00 GMT so that it will
be on the same day no matter which time zone is considered.

Test: part of testActivity
Change-Id: Ib36a5b45f69323265dd5ceaa17eeac553fc2d071
(cherry picked from commit 896cc3a794bb6e173c1e53e97f70007c3e24de38)

tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/CustomCalendar.java