private static void registerVariants(){
  for (  String name : calendarProperties.stringPropertyNames()) {
    if (name.startsWith(PROP_PREFIX)) {
      String id=name.substring(PROP_PREFIX.length());
      if (id.indexOf('.') >= 0) {
        continue;
      }
      if (id.equals(INSTANCE.getId())) {
        continue;
      }
      try {
        HijrahChronology chrono=new HijrahChronology(id);
        AbstractChronology.registerChrono(chrono);
      }
 catch (      DateTimeException ex) {
        PlatformLogger logger=PlatformLogger.getLogger("java.time.chrono");
        logger.severe("Unable to initialize Hijrah calendar: " + id,ex);
      }
    }
  }
}

private static void registerVariants ( ) { for ( String name : calendarProperties . stringPropertyNames ( ) ) { if ( name . startsWith ( PROP_PREFIX ) ) { String id = name . substring ( PROP_PREFIX . length ( ) ) ; if ( id . indexOf ( '.' ) >= 0 ) { continue ; } if ( id . equals ( INSTANCE . getId ( ) ) ) { continue ; } try { HijrahChronology chrono = new HijrahChronology ( id ) ; AbstractChronology . registerChrono ( chrono ) ; } catch ( DateTimeException ex ) { PlatformLogger logger = PlatformLogger . getLogger ( "java.time.chrono" ) ; logger . severe ( "Unable to initialize Hijrah calendar: " + id , ex ) ; } } } }
for each hijrah variant listed , create the hijrahchronology and register it . exceptions during initialization are logged but otherwise ignored .
