jsdoc for getDateString