Displays a calendar for date picking.
Shows the calendar. It will appear at [x, y]. If date is specified, it will be pre-selected. All dates are in form of [year, month, day], starting from 1. When user selects a date, a callback(date) will be called.
Further customizations can be done by setting some properties:
Date::getDay()
returns 0, i.e. Sunday.
OAT.Calendar.dayNames = ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];
OAT.Calendar.monthNames = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
OAT.Calendar.specialDays = [0,0,0,0,0,1,1];
OAT.Calendar.dayZeroIndex = 6;
OAT.Calendar.weekStartIndex = 6;
OAT.Calendar.show(100, 100, function(){});