Modified the Date class to include more APIs: getPrettyFormat, toString, ...

... Date(String). Utilised the JodaTime library. Now Date constructor can throw InvalidDateException. Added try-catch blocks where Date constructor is used.r