Passing String to the Constructor of Date Class

