AbstractChronology.registerChrono

Register a Chronology by ID and type for lookup by {@link #of(string)}. Chronos must not be registered until they are completely constructed. Specifically, not _in the constructor of Chronology.

@param chrono the chronology to register; not null @param id the ID to register the chronology; not null @return the already registered Chronology if any, may be null

  1. Chronology registerChrono(Chronology chrono)
  2. Chronology registerChrono(Chronology chrono, string id)
    class AbstractChronology
    static
    registerChrono

Meta