
##############################################
**Cassandane::TestEntity::DataType::Calendar**
##############################################


****
NAME
****


Cassandane::TestEntity::DataType::Calendar - the Calendar entity datatype

default
=======



.. code-block:: perl

     my $cal = $user->calendars->default;


This acts like \ ``->get``\ , returning an address book instance, but finds and
returns the address book with id \ ``Default``\ .  Later, this should look for a
true \ ``isDefault``\  property.



****************
INSTANCE METHODS
****************


create_event
============



.. code-block:: perl

     my $event = $cal->create_event({ ... });


This method creates a CalendarEvent instance that's in \ ``$cal``\  and no other
calendars.


