Add DateUtil.toArray() convenience method