Date.format and .parse

Test the Date.format and .parse capabilities, see http://llamalab.com/js/date/.
The functions uses patterns compatible with java.text.SimpleDateFormat.

Test

Dump

toString
getFullYear
getMonth
getDate
getHours
getMinutes
getSeconds
getMilliseconds
getTimezoneOffset
getDay
datePart
timePart
getDayOfWeek
getDayOfYear
getDaysInMonth
getDaysInYear
getWeekOfYear
getWeekOfMonth
getWeeksInYear