private boolean load ( ClassLoader classLoader ) { boolean updated = false ; URL url = null ; try { Enumeration < URL > en = classLoader . getResources ( "org/threeten/bp/TZDB.dat" ) ; while ( en . hasMoreElements ( ) ) { url = en . nextElement ( ) ; updated |= load ( url ) ; } } catch ( Exception ex ) { throw new ZoneRulesException ( "Unable to load TZDB time-zone rules: " + url , ex ) ; } return updated ; }
Loads the rules .