Understood the purpose now and added a comment to it. Good thinking of propgating the date format to concerned built-in methods!