public static String isoDateTime ( final Date val , final TimeZone tz ) { synchronized ( isoDateTimeTZFormat ) { isoDateTimeTZFormat . setTimeZone ( tz ) ; return isoDateTimeTZFormat . format ( val ) ; } }
Turn Date into yyyyMMddTHHmmss for a given timezone