Datepicker#setCurrent, add doc and refactor