Android Calendar timezone not changing with CalendarContract
问题 I am using the following code to add an event to the calender Intent intent = new Intent(Intent.ACTION_INSERT); intent.setType("vnd.android.cursor.item/event"); intent.putExtra(Events.TITLE, "my event title"); intent.putExtra(Events.EVENT_LOCATION, "my city"); intent.putExtra(Events.DESCRIPTION, "description of this event"); intent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, dep.getTimeInMillis()); intent.putExtra(CalendarContract.EXTRA_EVENT_END_TIME, arr.getTimeInMillis()); intent