createAndGetCalendar

Creates a new calendar and directly returns it.

Return

the created calendar

Parameters

values

values to create the calendar from (account name and type are inserted)

Throws

when the content provider returns nothing or an error