These docs are for an old release. Info on upgrading to v5
edit doc

Calendar::view

Access the View Object for the current view.

This is a property of a Calendar object, not a method. This is useful if you want to get information about the calendar’s title or start/end dates.

Example Usage:

var view = calendar.view;
alert("The view's title is " + view.title);