public static String jodaFormat ( ZonedDateTime dateTime ) { CheckArg . isNotNull ( dateTime , "dateTime" ) ; return dateTime . format ( JODA_ISO8601_FORMATTER ) ; }
Returns the ISO8601 string of a given date - time instance with timezone information trying to be as closed as possible to what the JODA date - time library would return .