Add a global SimpleDateFormat for formatting dates.

Fixes #20.