public static boolean isISODateTimeUTC ( final String val ) throws BadDateException { try { if ( val . length ( ) != 16 ) { return false ; } fromISODateTimeUTC ( val ) ; return true ; } catch ( Throwable t ) { return false ; } }
Check Date is yyyyMMddThhmmddZ