public static synchronized int countEquivalentIDs ( String id ) { int count = 0 ; UResourceBundle res = openOlsonResource ( null , id ) ; if ( res != null ) { try { UResourceBundle links = res . get ( "links" ) ; int [ ] v = links . getIntVector ( ) ; count = v . length ; } catch ( MissingResourceException ex ) { // throw away } } return count ; }
Returns the number of IDs in the equivalency group that includes the given ID . An equivalency group contains zones that behave identically to the given zone .