Added support for single quote escaping.
Reference: <http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html>