public static String getUtc ( final String time , final String tzid ) throws TimezonesException { return getTimezones ( ) . calculateUtc ( time , tzid ) ; }
Given a String time value and a possibly null tzid will return a UTC formatted value . The supplied time should be of the form yyyyMMdd or yyyyMMddThhmmss or yyyyMMddThhmmssZ