docs: public Chronology getChronology(Object object, DateTimeZone zone) {
          if (object.getClass().getName().endsWith(".BuddhistCalendar")) {
              return BuddhistChronology.getInstance(zone);
          } else if (object instanceof GregorianCalendar) {
              GregorianCalendar gc = (GregorianCalendar) object;
              long cutover = gc.getGregorianChange().getTime();
              if (cutover == Long.MIN_VALUE) {
                  return GregorianChronology.getInstance(zone);
              } else if (cutover == Long.MAX_VALUE) {
                  return JulianChronology.getInstance(zone);
              } else {
                  return GJChronology.getInstance(zone, cutover, 4);
              }
          } else {
              return ISOChronology.getInstance(zone);
          }
      }