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.
var view = calendar.view; alert("The view's title is " + view.title);