RF has next kind of functions:
functions which rendering JS code(called client funcs):
and ones which just evaluates some server side expressions:
- findComponent - evaluated to server side component instance
- isUserInRole - evaluated to externalContext.isUserInRole
So seems you using wrong kind of function to perform client side action. You should use rich:component and check proper JS method which changes current value of the calendar.